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.

One Million Chessboards

337 pointsby chunkles21 days ago
<a href="https:&#x2F;&#x2F;eieio.games&#x2F;blog&#x2F;one-million-chessboards&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eieio.games&#x2F;blog&#x2F;one-million-chessboards&#x2F;</a>

23 comments

eieio21 days ago
Ah hello! I made this :)<p>My blog describing it is pretty sparse, sorry about that. Happy to answer any questions that folks have about the architecture.<p>Not that it was necessary, but I got really into building this out as a single process that could handle many (10k+&#x2F;sec) moves for thousands of concurrent clients. I learned a whole lot! And I found golang to be a really good fit for this, since you mostly want to give tons and tons of threads concurrent access to a little bit of shared memory.
评论 #43827446 未加载
评论 #43826972 未加载
评论 #43826996 未加载
评论 #43847480 未加载
评论 #43940482 未加载
评论 #43843566 未加载
评论 #43835543 未加载
nomilk21 days ago
Someone barricaded their king with about 40 rooks, I hopped in with a knight, and they immediately captured me (with their king), then plugged the gap with another rook so I couldn&#x27;t do it again. That was amusing lol.
mdaniel21 days ago
&gt; You can move between boards.<p>Evidently <i>move</i> between boards but not <i>capture</i> between boards :-( It&#x27;s extra weird because it&#x27;s not that the movement isn&#x27;t projected (e.g. queen blue lines all point correctly across board boundaries just the lines always stop at every piece on the other board, regardless of color)<p>So, I guess as an exercise in scale, <i>well done!</i> As one million <i>chess</i> boards, caveat gamator
评论 #43828386 未加载
评论 #43831844 未加载
pavel_lishin21 days ago
(Also submitted here: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43822992">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=43822992</a>)<p>Neat, though I expected every individual board to have &quot;turns&quot; - I didn&#x27;t expect that I could just pick a random board, liberate the black queen, and have her clean up every single white piece on the board without my &quot;opponent&quot; getting to do anything in return.
评论 #43826786 未加载
评论 #43826625 未加载
NelsonMinar20 days ago
This game has gotten interesting, for instance people have figured out a single board with pieces filling the outside edges two squares deep is impervious.<p>I love how we&#x27;re seeing emergent gameplay. That&#x27;s the genius in eieio&#x27;s projects. He&#x27;s inventing game systems that on the surface seem simple, but at this mass scale they have interesting possibilities that people discover. And they&#x27;re entirely new and invented, so we have no idea what to expect until the community figures it out.
ryukoposting21 days ago
Chasing people around is a lot of fun. Very enjoyable, if not for chess reasons.
pmontra21 days ago
It works well on my Android phone with Firefox. Well done.
评论 #43830030 未加载
sltkr20 days ago
It crashed for me:<p><pre><code> Uncaught TypeError: Cannot read properties of null (reading &#x27;type&#x27;) at $80b91fc9d2f468ec$export$4abc8fab4139dfcd (index.e2b13a6c.js:1:406898) at $c692b767326c99ec$var$PieceHandler.getMoveableSquares (index.e2b13a6c.js:4:4373) at index.e2b13a6c.js:4:13557 at oQ (index.e2b13a6c.js:1:60912) at o0 (index.e2b13a6c.js:1:61761) at oZ (index.e2b13a6c.js:1:60941) at Object.useState (index.e2b13a6c.js:1:72377) at Object.q (index.e2b13a6c.js:1:10352) at $a2d3bef833187ce9$export$474cd6ee072cf5a4 (index.e2b13a6c.js:4:12305) at oF (index.e2b13a6c.js:1:58673)</code></pre>
darepublic21 days ago
I was only able to move the black pieces. And I was able to move black consecutively on the same board. So I didn&#x27;t fully understand. Are the rules being enforced or is it just updates.<p>I enjoyed the sc2 UI when selecting pieces
评论 #43829198 未加载
cheekyfleek20 days ago
We definitely have some cheaters, playing as the other color. Thought I saw it last night but I know I saw it today. I think I saw vindictive use of it too, both times. One black fortress was destroyed and next thing you know the nearest white fortress found its pieces moving into the worst possible positions, often next to a waiting black bishop or rook. I&#x27;m not sure how exactly you handle the colors, but in a world where I can RDC onto a dozen computers on a half dozen continents in seconds I suppose this was inevitable.
maxmcd21 days ago
If you missed it, there was a nice story around One Million Checkboxes: <a href="https:&#x2F;&#x2F;eieio.games&#x2F;blog&#x2F;the-secret-inside-one-million-checkboxes&#x2F;" rel="nofollow">https:&#x2F;&#x2F;eieio.games&#x2F;blog&#x2F;the-secret-inside-one-million-check...</a><p>I wonder if something similar will happen here.<p>@eieio please open source the Go code, would be fun to poke at.
评论 #43826788 未加载
评论 #43827549 未加载
sashank_150921 days ago
I spent a good half an hour making an impenetrable fortress for black, hopefully it lasts till the end (it will unless someone in black breaks it)
felipemesquita18 days ago
I&#x27;ve achieved what seems to be a stable structure outside the edges, <a href="https:&#x2F;&#x2F;onemillionchessboards.com&#x2F;#1347,3624" rel="nofollow">https:&#x2F;&#x2F;onemillionchessboards.com&#x2F;#1347,3624</a>
yayitswei20 days ago
I predict this will evolve into bot warfare! For example, here&#x27;s a snippet to advance pawns: <a href="https:&#x2F;&#x2F;gist.github.com&#x2F;yayitswei&#x2F;442cd5128b2dbfbd95a101b70f445183" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;yayitswei&#x2F;442cd5128b2dbfbd95a101b70f...</a>
ChessviaAI21 days ago
Really impressive engineering work her, especially running it all on a single server with in-memory board state and optimistic rollback.<p>I work in chess tech, but in a very different direction (structured games, coaching, serious play). It&#x27;s inspiring to see chess reimagined like this!
tantalor21 days ago
I saw a black piece moving around very quickly. Is there a secret way to move without clicking twice?
评论 #43835133 未加载
NooneAtAll321 days ago
I made a Promoted-32 queen<p>I won
评论 #43827042 未加载
GenshoTikamura21 days ago
It&#x27;s interesting how the game will end. Will it end up in a deadlock, or in a fierce duel of two power pieces with hundreds of players behind each struggling to gain control concurrently?
评论 #43838014 未加载
评论 #43831727 未加载
Mr_Modulo21 days ago
Do the boards regenerate at some point? If not, it seems like most of the pieces will be depleted after a while.
评论 #43828407 未加载
amelius21 days ago
These days I keep wondering what a 4d or 3d chess board looks like.
评论 #43830246 未加载
fredo202521 days ago
This was a strange game. I could only move the black pieces, and I could take the opponent’s king. What next?<p>Also, the skull button seemed to do a lot of damage and shake things up.
cheekyfleek12 days ago
The bots are alive!
gitroom21 days ago
insane seeing so many wild ideas happen at once - i keep wondering, stuff like this, what keeps people coming back and building even weirder moves over time you think