This is the second iteration of my battleship project made using Python and Pygame. This project was developed independently for learning purposes.
This game is classic BattleShip against an AI opponent with some extra features. Running the script in bsmain.py will start the game.
Each player has five ships, each with a specific feature/skill:
- Carrier
- Skill: EM Railgun
- Fires across an entire row/column depending on the ship's orientation
- Skill: EM Railgun
- Cruiser
- Skill: Missile Salvo
- Fires a volley of missiles a chance for up to 5 successive shots
- Skill: Missile Salvo
- Destroyer
- Skill: Sonar Blast
- Chance of locating an enemy submarine upon being hit
- Skill: Sonar Blast
- Submarine
- Skill: Countermeasures
- Chance of evading detection upon being hit (reposition ship and wipe enemy's tracked misses)
- Skill: Countermeasures
- Frigate
- Skill: Depth Charge
- Deploys charge with (10 * number charges deployed)% chance to hit an enemy submarine
- Skill: Depth Charge
This project is licensed under the MIT license.