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
|