Battle Royale 2048 Simulator
Watch AI bots compete in a 2048 Battle Royale. Configure speed, player count, and attack modes in this real-time heuristic algorithm simulation.
Select bots and press Start.
About
This Battle Royale 2048 Simulator visualizes competitive heuristic algorithms in real-time. Unlike the solitary standard version, this tool pits multiple AI agents against each other in a fight for survival. The simulation uses a weighted evaluation function favoring monotonicity and corner-clustering to determine optimal moves.
In Attack Mode, the game introduces a combat variable: when an agent creates a tile of value 128 or higher, it transmits a STONE (non-mergeable obstacle) to a rival's grid. The simulation ends when only one agent remains operational (moves > 0).
Formulas
The AI evaluates board states using a linear utility function U:
Where G is the grid state, and w represents the weight coefficients for monotonicity, smoothness, and empty cells respectively. The agent selects move m such that:
Reference Data
| Value | Color (Hex) | Probability | Attack Trigger |
|---|---|---|---|
| 2 | #EEE4DA | 90% spawn | - |
| 4 | #EDE0C8 | 10% spawn | - |
| 128 | #EDCF72 | Merge | Send 1 Stone |
| 512 | #EDC850 | Merge | Send 2 Stones |
| 2048 | #EDC22E | Merge | Send 4 Stones |
| STONE | #3E3933 | N/A | Unmergeable |