Place ships, rotate with R, and sink the AI in pure ASCII. Strategic 10×10 naval battles with retro visuals and quick ro
    _    ____   ____ ___ ___   ____        _   _   _           _     _       
   / \  / ___| / ___|_ _|_ _| | __ )  __ _| |_| |_| | ___  ___| |__ (_)_ __  
  / _ \ \___ \| |    | | | |  |  _ \ / _` | __| __| |/ _ \/ __| '_ \| | '_ \ 
 / ___ \ ___) | |___ | | | |  | |_) | (_| | |_| |_| |  __/\__ \ | | | | |_) |
/_/   \_\____/ \____|___|___| |____/ \__,_|\__|\__|_|\___||___/_| |_|_| .__/ 
                                                                      |_|    
ASCII Battleship is a fast-paced, turn-based duel of strategy and precision, brought to life entirely in ASCII. Outsmart the enemy fleet, land decisive hits, and sink every ship before they sink yours. With a cunning AI, clear visuals, instant restarts, and endlessly replayable battles, every match is a tense fight for victory on the high seas.
Place ship #1 (2 cells): Click a start cell, rotate with R, click again to place.

Instruction

Controls:
- Mouse: click to select cells / place / fire
- R: rotate ship during placement
- ESC: cancel current placement

Steps:
- Place Your Fleet
- You have ships of size 2, 3, and 4.
- Click a start cell, press R to rotate, click again to confirm.
- Green preview = valid, red = invalid. ESC cancels.

Attack:
- The enemy board appears once all ships are placed.
- Click to fire. X = hit, O = miss.
- A brief screen flash appears when a ship is sunk.

AI Turn:
- The AI targets intelligently using a probability heatmap and focuses around previous hits.

Win/Lose:
- Win by sinking all enemy ships.
- Lose if the AI sinks all of yours.

Restart:
- Click RESTART to start a fresh match.

Acknowledgments and credits

ASCII Battleship is inspired by the classic naval strategy game Battleship, originally popularized as a board game and later adapted into various digital versions. Battleship is a registered trademark of Hasbro, Inc.

ASCII Battleship is an original game created, designed, and programmed by Paul Rosell, and developed under the Injosoft brand. All rights to the game name, source code, design, and ASCII artwork are reserved by Injosoft. Any reproduction, modification, or redistribution without prior written permission is strictly prohibited.

This game is not affiliated with, endorsed by, or licensed by Hasbro, Inc. It is an independent creation developed as a respectful tribute to the timeless game of naval combat.

Thanks for playing and keeping the ASCII gaming spirit alive!