dmitry-moroz / pyttleship

Pyttleship is python implementation of world-popular game Battleship

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyttleship

Pyttleship is python implementation of world-popular game [Battleship].

Battleship game rules

In our python implementation of game we are going to follow Russian rules:

  • It is played on a 10x10 grid.
  • Player takes another shot on the same turn if an enemy ship is hit.
  • Ships cannot occupy squares next to each other, horizontally, vertically or diagonally.
Type of ship Deckers Ships
battleship (линкор) 4 1
cruiser (крейсер) 3 2
destroyer (эсминец) 2 3
submarine (подводная лодка) 1 4

About

Pyttleship is python implementation of world-popular game Battleship


Languages

Language:Python 100.0%