Skip to content

machayes00/Group1-Battleship

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EECS448 Project 1 - Battleship

This is a project for EECS 448. The purpose of this project is to build a battleship game.

Battleship

Battleship is a two-player, turn-based game where both players secretly place 1 to 6 ships on a 9x10 grid. Each player takes turns to announce where on the opponent's grid they wish to fire. The opponent must announce whether or not one of the ships was hit. The first player to sink all of the opponent's ships wins the game.

This game is played through the terminal, with each player taking turns to type in their commands.

Getting Started

Dependencies

  • Python 3.x

Installing

  • Clone this file or
  • Download BattleshipG1.py and Board.py and place them in the same folder.

Executing program

  • Navigate to the folder where BattleshipG1.py is located.
  • Run the following command in terminal.
python3 Battleship-G1.py

Authors

  • Alexander Archer
  • George Blue
  • Alice Chen
  • Edina Harsay
  • Mac Hayes

Version History

  • 0.1
    • Initial Release

Acknowledgments / Works Cited

Inspiration, code snippets, etc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%