📛 Project Name
Terminal Battleship 🚢
📊 Category
Games
📝 Project Overview
Terminal Battleship is an intermediate-level, single-player version of the classic board game. The script will generate a 5x5 grid using a 2D list and randomly hide a ship using the random module. The player will have a limited number of turns (torpedoes) to guess the correct row and column to sink the ship.
The game loop will update and print the grid after every guess to give the user visual feedback. It will heavily feature emojis to make the terminal experience engaging:
🌊 for unexplored water
❌ for a missed shot
💥 for a direct hit
This project will challenge users to manage state, handle user input validation (e.g., preventing out-of-bounds guesses or duplicate guesses), and manipulate 2D lists (matrices) using strict, beginner-friendly procedural logic.
✅ Code Compliance Checklist
📛 Project Name
Terminal Battleship 🚢
📊 Category
Games
📝 Project Overview
Terminal Battleship is an intermediate-level, single-player version of the classic board game. The script will generate a 5x5 grid using a 2D list and randomly hide a ship using the
randommodule. The player will have a limited number of turns (torpedoes) to guess the correct row and column to sink the ship.The game loop will update and print the grid after every guess to give the user visual feedback. It will heavily feature emojis to make the terminal experience engaging:
🌊for unexplored water❌for a missed shot💥for a direct hitThis project will challenge users to manage state, handle user input validation (e.g., preventing out-of-bounds guesses or duplicate guesses), and manipulate 2D lists (matrices) using strict, beginner-friendly procedural logic.
✅ Code Compliance Checklist
pip install).