Battleships Game in C (GWin)
6111
£250(approx. $328)
- Posted:
- Proposals: 0
- Remote
- #940
- Archived
Description
Experience Level: Expert
Battleships
Write a simple game of Battleships. This is where two players have a fleet of ships hidden within an area of ocean. The ocean is specified in terms of a grid of positions, with the battleships oriented horizontally or vertically within the grid. (Due to lack of working radar, you have to launch shells into the area fairly randomly, then use your sonar to detect the splashes (failure) or impacts (success). (See the Wikipedia reference for an explanation of the rules.)
In order to allow this game to be played between 2 people on separate computers, a socket class that will enable the communication. This socket class has been written as open source.
The program is to be written in C with the graphical elements generated via Gwin. This will enable us to port it to Linux fairly easily in future if we wish.
I want the game to allow a wide degree of customisation %u2013 deciding how many ships of what class are used, how big the area is, what level of hints/help is given etc. Moreover we want the scoring information saved, so that each player can show their 'status' to others who may then get a handicap. This is similar to the rules when playing online games such as Go, where players have a defined rank, and one can play against another of a lower rank by allowing them to have more pieces on the board to start. As a potential for turning this into an educational game (and selling it to schools) I want to have the possibility that it asks simple questions (arithmetic or spelling) that they have to answer correctly before it will fire. Of course any extension for education of this sort would also have to provide an interface for teachers to check results, and set levels for the students.
Write a simple game of Battleships. This is where two players have a fleet of ships hidden within an area of ocean. The ocean is specified in terms of a grid of positions, with the battleships oriented horizontally or vertically within the grid. (Due to lack of working radar, you have to launch shells into the area fairly randomly, then use your sonar to detect the splashes (failure) or impacts (success). (See the Wikipedia reference for an explanation of the rules.)
In order to allow this game to be played between 2 people on separate computers, a socket class that will enable the communication. This socket class has been written as open source.
The program is to be written in C with the graphical elements generated via Gwin. This will enable us to port it to Linux fairly easily in future if we wish.
I want the game to allow a wide degree of customisation %u2013 deciding how many ships of what class are used, how big the area is, what level of hints/help is given etc. Moreover we want the scoring information saved, so that each player can show their 'status' to others who may then get a handicap. This is similar to the rules when playing online games such as Go, where players have a defined rank, and one can play against another of a lower rank by allowing them to have more pieces on the board to start. As a potential for turning this into an educational game (and selling it to schools) I want to have the possibility that it asks simple questions (arithmetic or spelling) that they have to answer correctly before it will fire. Of course any extension for education of this sort would also have to provide an interface for teachers to check results, and set levels for the students.
J B.
0% (0)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
11 Feb 2008
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies