Lurker News

Comments (149) 83 threads

Earlier comments
orsenthil2 replies#
Very nice. Enjoyed playing this. I know Chess, what is Roguelike here ?
joemi#
In this game, I think _some_ of the less general terms (stricter definition) also apply: turn-based movement, grid-based movement.
chiply314#
Its still not rogue like without a meta upgrade loop.
Eric_WVGG#
yeah I concur

Great little arcade game. Not a rogue-like.

handoflixue#
I was so surprised this wasn't that game! And then the top comment saying "I also built one" also wasn't Gambonanza!

There are so many of these, wow - and nicely distinct from each other, too

n4r9#
This is awesome! I'd appreciate being able to bring up a primer on the rules - perhaps a reiteration of what it says at the start plus a list of pieces and their moves, and maybe a brief description of what strategy the pieces apply when they move.
pantsforbirds3 replies#
I had a lot of fun playing the game. I also made a local solver to see how far you can theoretically get, and it's definitely infinite if you play perfectly. Working on the local sim / solver was almost as fun as playing the game :)
pantsforbirds#
I started by pulling the game source locally and doing some initial testing with a few solvers. I ended up having Claude make a 1-for-1 perfect sim of the original game using rust with some optimizations. The original engine was able to check around 180 moves/s and the rust port was hitting 2,150 moves/s.

After that, I tested a few solvers. Single Player Monte Carlo Tree Search seemed promising, but didn't do as well as I expected. A simple beam search does appear to go infinitely pretty easily.

mrgoldenbrown1 reply#
When you say play perfectly do you mean by exhausting all possibilities? Or is there some way to deduce ahead of time whether the RNG will put you in an impossible situation.
pantsforbirds#
The way the game is seeded, it's 100% deterministic. So if you can scan enough potential moves / second, it's very easy to infinitely play the game at a fast rate.

Shockingly, Claude was able to find the exact random generators that the js library uses, list out all of the differences between the languages that might impact the replays (like rounding being treated differently), and include those differences in the simulation. Claud then back-tested on a huge number of games using the original implementation as a golden set generator.

teo_zero1 reply#
> it's definitely infinite if you play perfectly.

Considering that 2 new pieces are spawned for each captured one, if you keep progressing you will exhaust the real estate, sooner or later. The only way to go on infinitely is not capturing, but that means not scoring points. Hardly satisfying, though.
For example today's board can be played infinitely by moving between a8 and b7. Zero points, infinite game!

pantsforbirds#
Ah yes, I specifically mean you can keep earning points infinitely. After the board is full, it resets the game, and you get points for each piece on the board. I usually stop the simulation after it clears the board 10 times or so.

Load more comments