Skip to content

Battleship is a school project and won't be developed any further. This is a Python software that allows its users to play the notorious board game "Battleship" in 4 different difficulties, against the computer.

Notifications You must be signed in to change notification settings

LorenBll/Battleship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Battleship

This python program allows the user to play the notorious board game "Battleship" against the computer in 4 different difficulties: Easy, Medium, Hard and Hell. The game features sound effects took from the internet and background music generated by Beatoven AI, alongside a simple Error Logging system.

Table of Contents

Getting Started

DISC requires the presence of customtkinter and pygame on the system. To install them you want to run from the terminal the following commands:

  • pip install customtkinter ;
  • pip install pygame .

Usage

Battleship is a GUI provided application. After starting it up you will be asked to choose a difficulty and provided the chance to change the app's theme before the game starts.

Unfortunately the game does not provide a way to effectively place ships the way you would like to. However a ship placement configuration will be randomly generated for you and you will be asked if you want to keep it that way or change it.

Image of the Ship Placement Window.

The game will start with your turn:

Image of the Window in which you will play the game.

In the central part of the screen you will have to input the coordinates in which you want to hit your opponent. The moment one board has no more ships on it the game will end, you will be shown the result of the match and asked if you want to play again.

Authors

  • LorenBll ;
  • Maurizio (the link to his GitHub profile is unavailable) .

About

Battleship is a school project and won't be developed any further. This is a Python software that allows its users to play the notorious board game "Battleship" in 4 different difficulties, against the computer.

Topics

Resources

Stars

Watchers

Forks

Languages