Skip to content

a1d4r/curses-battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Battleship game

Requirements

  • Python 3
  • curses package (in standard library for Linux and Mac). For Windows you might want to install windows-curses: pip install windows-curses

Run

python -m battleship height width

For example, to run the game with 10x10 grids:

python -m battleship 10 10

Note: the game uses python

Controls

  • Esc - open game menu
  • Arrow Up/Down - go up/down
  • Arrow Left/Right - go left/right
  • Enter - Confirm your move, select menu item

Screenshots

About

Battleship game in Python using curses library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages