Comparing files MURK++\limbo.are and MURK++DEV\LIMBO.ARE ***** MURK++\limbo.are 1 0 0 #0 ***** MURK++DEV\LIMBO.ARE 1 0 0 #24 card playing~ a playing card~ A playing card is here.~ ~ 13 64 1|16384 0 0 0 0 1 0 0 E card~ The face of this card is blank. ~ #25 card playing~ a playing card~ A playing card is here.~ ~ 13 0 1|16384 0 0 0 0 1 0 0 E card~ The face of this card is blank. ~ #0 *****
Comparing files MURK++\midgaard.are and MURK++DEV\MIDGAARD.ARE ***** MURK++\midgaard.are M 3144 crier.prg S ***** MURK++DEV\MIDGAARD.ARE M 3144 crier.prg M 3012 card_color_or_suit_guess.prg M 3012 card_named_is_red.prg M 3012 card_named_is_black.prg S *****
>give_prog all~ if objtype($o) == 13 mpcardguess endif ~ >speech_prog p black~ mpcardguess black ~ >speech_prog p red~ mpcardguess red ~ >speech_prog p spade~ mpcardguess spade ~ >speech_prog p heart~ mpcardguess heart ~ >speech_prog p club~ mpcardguess club ~ >speech_prog p diamond~ mpcardguess diamond ~ |
card_named_is_black.prg
>speech_prog p Ace of Spades~ mpcardguess $n 1 1 ~ >speech_prog p Two of Spades~ mpcardguess $n 2 1 ~ >speech_prog p Three of Spades~ mpcardguess $n 3 1 ~ >speech_prog p Four of Spades~ mpcardguess $n 4 1 ~ >speech_prog p Five of Spades~ mpcardguess $n 5 1 ~ >speech_prog p Six of Spades~ mpcardguess $n 6 1 ~ >speech_prog p Seven of Spades~ mpcardguess $n 7 1 ~ >speech_prog p Eight of Spades~ mpcardguess $n 8 1 ~ >speech_prog p Nine of Spades~ mpcardguess $n 9 1 ~ >speech_prog p Ten of Spades~ mpcardguess $n 10 1 ~ >speech_prog p Jack of Spades~ mpcardguess $n 11 1 ~ >speech_prog p Queen of Spades~ mpcardguess $n 12 1 ~ >speech_prog p King of Spades~ mpcardguess $n 13 1 ~ >speech_prog p Ace of Clubs~ mpcardguess $n 1 3 ~ >speech_prog p Two of Clubs~ mpcardguess $n 2 3 ~ >speech_prog p Three of Clubs~ mpcardguess $n 3 3 ~ >speech_prog p Four of Clubs~ mpcardguess $n 4 3 ~ >speech_prog p Five of Clubs~ mpcardguess $n 5 3 ~ >speech_prog p Six of Clubs~ mpcardguess $n 6 3 ~ >speech_prog p Seven of Clubs~ mpcardguess $n 7 3 ~ >speech_prog p Eight of Clubs~ mpcardguess $n 8 3 ~ >speech_prog p Nine of Clubs~ mpcardguess $n 9 3 ~ >speech_prog p Ten of Clubs~ mpcardguess $n 10 3 ~ >speech_prog p Jack of Clubs~ mpcardguess $n 11 3 ~ >speech_prog p Queen of Clubs~ mpcardguess $n 12 3 ~ >speech_prog p King of Clubs~ mpcardguess $n 13 3 ~ |
card_named_is_red.prg
>speech_prog p Ace of Hearts~ mpcardguess $n 1 2 ~ >speech_prog p Two of Hearts~ mpcardguess $n 2 2 ~ >speech_prog p Three of Hearts~ mpcardguess $n 3 2 ~ >speech_prog p Four of Hearts~ mpcardguess $n 4 2 ~ >speech_prog p Five of Hearts~ mpcardguess $n 5 2 ~ >speech_prog p Six of Hearts~ mpcardguess $n 6 2 ~ >speech_prog p Seven of Hearts~ mpcardguess $n 7 2 ~ >speech_prog p Eight of Hearts~ mpcardguess $n 8 2 ~ >speech_prog p Nine of Hearts~ mpcardguess $n 9 2 ~ >speech_prog p Ten of Hearts~ mpcardguess $n 10 2 ~ >speech_prog p Jack of Hearts~ mpcardguess $n 11 2 ~ >speech_prog p Queen of Hearts~ mpcardguess $n 12 2 ~ >speech_prog p King of Hearts~ mpcardguess $n 13 2 ~ >speech_prog p Ace of Diamonds~ mpcardguess $n 1 4 ~ >speech_prog p Two of Diamonds~ mpcardguess $n 2 4 ~ >speech_prog p Three of Diamonds~ mpcardguess $n 3 4 ~ >speech_prog p Four of Diamonds~ mpcardguess $n 4 4 ~ >speech_prog p Five of Diamonds~ mpcardguess $n 5 4 ~ >speech_prog p Six of Diamonds~ mpcardguess $n 6 4 ~ >speech_prog p Seven of Diamonds~ mpcardguess $n 7 4 ~ >speech_prog p Eight of Diamonds~ mpcardguess $n 8 4 ~ >speech_prog p Nine of Diamonds~ mpcardguess $n 9 4 ~ >speech_prog p Ten of Diamonds~ mpcardguess $n 10 4 ~ >speech_prog p Jack of Diamonds~ mpcardguess $n 11 4 ~ >speech_prog p Queen of Diamonds~ mpcardguess $n 12 4 ~ >speech_prog p King of Diamonds~ mpcardguess $n 13 4 ~ |
Enjoy! A next step would be being able to turn in card hands or a full deck for items, abilities, etc.
Whoops – the third kind of reply to guessing the color or suit should be for ranks 9 to 12. 13 is all alone on the fourth row in this game, so it can be shortcutted to make the guesser seem like an even more amazing genius/psychic.
commands.cpp modified look, oload; could be placed elsewhere
murk.cpp
card_color_or_suit_guess.prg
card_named_is_black.prg
card_named_is_red.prg
Enjoy! A next step would be being able to turn in card hands or a full deck for items, abilities, etc.