Solitaire Board Game Demo
This is a Java program, click on it to play the game!
Rules
- Each piece can be jumped over an adjoining piece to an empty hole beyond
- The piece that has been jumped over is then removed from the board
- Pieces may only be moved horizontally or vertically
- A game is won if the board is completely cleared of all but one of the pieces.
Remark
Your homework should be similar to this. You should use a JFrame.
I use JApplet so that it can be embedded in a webpage.