This lesson we try to develop a simple command-line games,To complete the experience a so-called "development process"。
This game is set:
This is a board game,We guess the location of enemy ships,As long as the number of hits you can send them to sink。
We give these ships the label affixed to point it ...... such a variety of sites?so,This has become a site of attack Behind his program ......。
Goal of the game
We want to attack the player with the least number of sites,It crushed。Then we scored based on the number of players guessing。
Roughly design
We draw a 7 * 7[……]