3 ms·
Presumably it's got to be possible to free yourself from the constraint of a given implementation, and put together a solution for truly random pieces. You're
by peteretep 13y ago
Presumably it's got to be possible to free yourself from the constraint of a given implementation, and put together a solution for truly random pieces.
You're starting from a zero point, there's gotta be a minimum cyclic graph with each node having 7 outgoing connections for each new piece, and representing a certain configuration of blocks on the ground...
- peteretep 13y agoI guess more than 7 - you have 7 * possible rotations of piece * horizontal position...
- Cogito 13y agoKnowing which pieces are coming next makes a significant difference in edge cases, but I'm not sure how it would affect the bot in typical play. If you can predict the pieces perfectly you will always[1] perform at least as well as the same bot but using worse information. [1] assuming your bot is any good.