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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Algorithms and logic to generate hex game board

1 点作者 tyger11将近 7 年前
I'm wanting to create a game using a hex game board design, but have been unable to find any examples of code to generate such a layout. I'm planning on using Go, to make a game rather like DiceWars, but with a lot of additional features and more sophisticated game play. TIA.

1 comment

tyger11将近 7 年前
Nevermind. I found this from 2015 once I used the right search terms:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8941588" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8941588</a>