339681 Java applet board game
This project is now closed with a project budget of N/A.Get free quotes for a project like this
You are to write a Java applet to implement a board game played on a rectangular grid of cells. Each cell may be “empty”, meaning a JPanel with black border but nothing displayed. When the program starts the user is prompted with via a dialog box three integers: number of rows and, number of columns for the board, and a positive integer indicating how many cells will be initially marked with a circle inside. (See the figure below on the left for a 4 rows by 5 columns board with three cells marked at randomly selected locations.)
The purpose of the game is for a user to select cells and mark off the circles using fewest moves. A user may click on any cell (empty or otherwise) which will replace all cells in the same column or row as the clicked cell, to change from an ‘O' to an “X” (see figure above on the right).
Part of the code(~30%) is given.
Please see the attachment.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online