TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Algorithms and logic to generate hex game board

1 pointsby tyger11almost 7 years ago
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

tyger11almost 7 years ago
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>