Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Tam's Chinese Peg Game

by rjray (Chaplain)
on Jun 02, 2004 at 00:47 UTC ( #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!


Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-05-25 03:38 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (84 votes). Check out past polls.