/battleship

A console Battleship Emulator

Primary LanguagePythonMIT LicenseMIT

Battleship

by: sixsixseven

A two-player Battleship game written entirely in Python.

A First Program

Let's see if I can maintain the discipline to finish this game.

Your feedback

I value your input, and would love to hear from you. Please feel free to add comments, or make clones to play with the code. This is an exercise in expaning my knowledge, so I'm not currently accepting contributions to the code.

To-do:

  1. Define classes
  2. Define functions
  3. Develop ship grid/array thing
  4. Define system to place ships on the board without conflicts. Should be random for now.
  5. Scoreboard
  6. How to print the scoreboard
  7. How to clear the buffer every turn

Current class ideas

  • Ships
  • Boards
    • Displays own board
    • Displays opponent board w/ hits and misses.

Current function ideas

  • Shooting
  • Hits
  • Misses
  • Player turnover screen. Clears theconsole buffer between turns.
  • Turn counter