Skip to content

timjquigg/battleship

Repository files navigation

Battleship

A simple terminal based battleship game made with Python.

Table of contents

General info

This project was started as part of the Computer Science program with codecademy.com

Screenshots

Example screenshot

Technologies

  • Manjaro Linux - Version
  • VS Code - Version 1.65.2
  • Python - Version 3.10.2

Setup

Save all files into the same folder. Must have the tabulate package installed. Then run the following from a terminal window:

    python battleship.py

Code Examples

to follow

Features

List of features:

  • Create a game board with 3 different size options depending on difficulty selected
  • Randomly place different numbers of ships on the board depending on difficulty selected
  • Input coordinates to try and attack the battleship
  • Inform when there is a hit or a miss and update the board
  • Indication of successfully sinking a ship
  • Can play 1 or 2 players

To-do list:

  • User input validation
  • Score counter

Status

Project is: in progress

finished, no longer continue and why?

Inspiration

Based on the classic game Battleship

Contact

Created by @timjquigg - feel free to contact me!

About

A terminal battleship game using Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages