Skip to content

The Battl3ship game with 3 twists - you shoot thrice each turn, but only get the lengths (and not the position) of any hit or sunk ships. The first player sinking all of their opponent's ships wins!

License

Notifications You must be signed in to change notification settings

miguelinux314/battl3ship

Repository files navigation

Battl3ship

The Battl3ship game is like regular Battleship but with 3 twists - you shoot thrice each turn, but only get the lengths (and not the position) of any hit or sunk ships.

Screenshot

The first player to sink all of their opponent's ships wins!

Rules and Help

  • The goal of the game is to sink all your opponent's ships.
  • First you place your boats (4 x length 1, 3 x length 2, 2 x length 3, 4 x length 4) so that:
    • No ship can have another ship in any of its surrounding squares
    • No ship can be entirely placed on the edge
  • In each turn, you shoot on 3 cells. However, you get imprecise results, combined for all 3 shots:
    • For example, the result "H1 S4" means that you Hit a boat of length 1, and Sunk another of length 4.
    • As another example, "S3" means you sunk a ship of length 3. Note that you will get an identical result if you hit that ship multiple times this turn or only the last remaining square.
    • If you hit the last two remaining squares of a ship (e.g. of length 3) in the same turn, you will receive "S3", but not any "H3" corresponding to that ship in that turn.
  • Try to make it difficult to guess where your ships are placed:
    • Use horizontal and vertical ships
    • Arrange your ships in seemingly random locations

Installation

Dependencies

Run the Game

  1. Download the code, decompress and go into src/
  2. Execute httpserver.py
  3. Go to localhost:8080
  4. Other players can join you at http://Your_public_IP:8080
  5. Play!

Notes:

About

The Battl3ship game with 3 twists - you shoot thrice each turn, but only get the lengths (and not the position) of any hit or sunk ships. The first player sinking all of their opponent's ships wins!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published