Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Tam's Chinese Peg Game

by rjray (Chaplain)
on Jun 02, 2004 at 00:47 UTC ( [id://358920]=note: print w/replies, xml ) Need Help??


in reply to Tam's Chinese Peg Game

Pretty decent start. Definately ++. But it has a few problems...

  • It completely loses it if you click on buttons/pegs in a non-logical order. Click on a peg, then click two pegs away, or click on the open area instead of the adjacent peg. You're pretty much locked up at that point.
  • In a similar vein, consider binding "q" to being an exit-command. Please.
  • A good next step might be to highlight the selected peg. Bonus points for highlighting the legal moves as well.
  • Lastly, some sort of detection of when the game is over.

Still, got my vote!

--rjray

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2024-04-25 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found