Hacker News AI· anirbanhere·· 8 hr agoAI score18
Show HN: GhostFleet: A Battleship game with an advanced AI opponent
Show HN: GhostFleet: A Battleship game with an advanced AI opponent
AI summary
The author built GhostFleet, a browser-based Battleship game featuring an AI opponent called WraithAI that uses Monte Carlo simulation with probability heatmaps (sampling 800 possible enemy fleet configurations per turn) and Bayesian inference to choose its shots. WraithAI also adapts its aggression to the game state and includes a mechanism to resist common search strategies, and the game offers a multiplayer mode with a matchmaking component called TownSquare for sharing room codes. Play links and a technical breakdown are provided at ghostfleet.in.
Source: Hacker News AI · ghostfleet.in