Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: I'm bored, let's play a game

by chipmunk (Parson)
on Nov 13, 2001 at 04:13 UTC ( #124955=note: print w/ replies, xml ) Need Help??


in reply to I'm bored, let's play a game

That's really clever! One small point; the game should end when a player is unable to move on their turn. For example, in this situation, black is unable to move, so white wins:

01234567 0 w w # #0 1b # # # 1 2 # # # w2 3w # # # 3 4 # W w #4 5# # # # 5 6 # # # #6 7# # # # 7 01234567


Comment on Re: I'm bored, let's play a game
Download Code
Re: Re: I'm bored, let's play a game
by Anonymous Monk on Nov 14, 2001 at 15:44 UTC
    yes, there's another bug, where if you jump, and are able to jump again, but don't, and just move, the game sort of hangs, repeatedly asking you for a move, and then telling you it's invalid. Ah well, release 1.001 coming up, I guess.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://124955]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2015-07-04 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls