Skip to content

nxtrm/battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Battleship (Old)

A simple python battleship game built with customTkinter.

It was one of my first proper python projects

How to Play

  • Start the Game: Launch the game and click the "Play" button.
  • Place Ships: Each player takes places their ships on the board. Click on the cells to place parts of the ship.
  • Take Turns: After placing ships, players take turns to attack by clicking on the opponent's board. A red square means a "hit", the player gets a second turn. The green square means a "miss".
  • Win the Game: The game ends when one player sinks all of the opponent's ships. The winner is displayed, and players can choose to play again or quit.

File Structure

  • battleship_final.py: Main game file containing the implementation of the game logic and GUI.

Dependencies

  • customtkinter: For creating the GUI.
  • Pillow: For handling images.
  • pygame: For playing sound effects.(I honestly forgot already)

About

A simple python battleship game built with customTkinter.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages