- Python 3
- curses package (in standard library for Linux and Mac). For Windows you might want to install windows-curses:
pip install windows-curses
python -m battleship height width
For example, to run the game with 10x10 grids:
python -m battleship 10 10
Note: the game uses python
- Esc - open game menu
- Arrow Up/Down - go up/down
- Arrow Left/Right - go left/right
- Enter - Confirm your move, select menu item