Hunt The Wumpus/Ruby: Difference between revisions
m
no edit summary
Thundergnat (talk | contribs) m (Avoid miscounting task entries twice) |
mNo edit summary |
||
Line 2:
<span style='font-family: "Linux Libertine",Georgia,Times,serif;font-size:150%;'>[[Ruby]]</span><hr>
<
NOTHING = 0; WUMPUS = 1; BAT = 2; PIT = 4; PLAYER = 8; FINISH = 1
PLAY_NEW = 2; PLAY_SAME = 4; S_PLAYER = 0; MAX_ARROWS = 5; S_WUMPUS = 1
Line 304:
end
@game = Game.new().main_loop()
</syntaxhighlight>
|