Skip to content

jamesbilis/Battleship-CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ›ฅ๏ธ Battleship CLI Game

GitHub repo size Last Commit License

A command-line version of the classic game Battleship, written in Python.
Challenge your logic and luck as you try to sink the hidden ships on a grid!

๐ŸŽฎ Features

  • Player vs computer logic
  • Random ship placement
  • Visual grid updates after each move
  • Input validation and clear feedback

๐Ÿš€ How to Run

Make sure you have Python 3.7+ installed.

python "battleship_game.py"

If you're using VS Code or another IDE, simply open the file and run the script.

๐Ÿง  Skills Demonstrated

  • Python functions and conditionals
  • 2D lists and coordinate mapping
  • User input and validation
  • Game logic design

๐Ÿ“ฆ Future Improvements

  • Add multiplayer support
  • Implement difficulty levels
  • Track and display scores

๐Ÿ“ File Structure

Battleship-CLI/
โ”‚
โ”œโ”€โ”€ battleship_game.py       # Main game logic
โ”œโ”€โ”€ README.md                # You are here

๐Ÿ”— Author

Developed by James Bilis
GitHub Profile

Releases

No releases published

Packages

No packages published