ASCII Art Archive v2 – Now live with a new layout and weekly updates. Read more.
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!
Want More? Try These ASCII Games
ASCII Boss Battle – A fast, terminal‑style roguelike where you dodge projectiles, chug potions, and gear up to defeat a multi‑phase Final Boss. Pick a difficulty and race the clock for your best time.
ASCII Crossy Frog – Jump across roads and rivers in this ASCII-style remake of the classic Frogger game. Time your moves, avoid cars and hazards, and collect as many points as possible before your lives run out.
ASCII Block Dropper – A retro ASCII Tetris clone where falling blocks meet colorful themes and custom symbols. Rotate, drop, and stack for combos, chase your high score, and enjoy smooth animations.
ASCII Space Shooter – Blast through waves of enemies in this retro ASCII shooter. Master quick reflexes, rack up combos, and survive as long as you can. Simple controls, endless waves, nonstop arcade action.
Need a Break? Read These ASCII Articles
NetHack The Ultimate ASCII Dungeon Adventure – Explore NetHack, the ultimate ASCII dungeon adventure in this easy-to-read introduction to one of gaming’s most legendary roguelikes.
Adding Color and Animation to Your ASCII Games – Learn simple tricks to make your ASCII games feel alive using colors, flickering effects, and basic animations while keeping the retro charm intact.
Rogue the Dawn of Roguelikes – Discover the origins of roguelikes in Rogue, the ASCII classic that turned simple symbols into epic adventures and defined an entire genre.
Why ASCII Games Are Perfect for Learning to Code – Discover why ASCII games are the ideal way to start coding. Learn core programming concepts, clean coding habits, and algorithms while keeping things fun.