TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Battleship (Not the movie) - An analysis of strategies used to play the game

9 点作者 squeakynick大约 13 年前

1 comment

sp332大约 13 年前
Very cool, but still some room for improvement. You can see at the very bottom that the algorithm doesn't know how many battleships there are in the game. Specifically, even though every other ship has been sunk, and it knows the battleship runs up/down, it still has non-zero probability for ships going off to the left. It should be able to rule those gray tiles out completely by that point.<p>Also this leaves open the question of how best to place ships to avoid being hit? :)
评论 #3972599 未加载