Poker odds, blackjack strategy, the Monty Hall paradox, Elo ratings and Nash equilibria — explore the surprising mathematics hidden in every game.
Game Maths is the field that explains the hidden numbers behind cards, dice, board games and competitive play. It draws on probability theory, combinatorics, expected value, game theory and Monte Carlo simulation to answer practical questions: should you switch doors in the Monty Hall problem, when does card counting tip blackjack in your favour, and what is the optimal strategy in the Prisoner's Dilemma? By working through an interactive Game Maths model you build intuition for randomness, risk and decision-making that textbooks alone rarely deliver. The simulations below let you run millions of trials in seconds, watch empirical results converge on theoretical odds, and learn Game Maths online at your own pace. These same tools — expected value, Nash equilibria and pot odds — underpin everything from casino design and poker strategy to economics, auctions and competitive sport.
Open any simulation — runs instantly in your browser
Vectors, collisions, physics engines, and geometry for game developers
Game mathematics simulations cover the core computational geometry and physics algorithms that power interactive video games. Bounding-volume collision-detection simulations compare AABB–AABB, sphere–sphere, and GJK algorithms, showing the contact manifold and response impulse for each approach. Raycasting simulations build a pseudo-3D corridor from a 2D map using the same ray-DDA technique used in Wolfenstein 3D and early Doom.
Quaternion rotation visualisers demonstrate the spherical-linear interpolation (SLERP) that produces smooth camera and character animation without gimbal lock. Spatial-hashing and quad-tree demos show how broad-phase collision detection scales from O(n²) to O(n) as object count increases. These are the mathematical foundations every game programmer must master, and seeing them animated makes the algebra of cross products, dot products, and determinants immediately geometric.
Each simulation in this category is built with accuracy and interactivity in mind. The underlying mathematical models are the same ones used in academic research and professional engineering — just made accessible through a web browser. Changing parameters in real time and observing the results is one of the most effective ways to build intuition for complex scientific and engineering concepts.
Topics and algorithms you'll explore in this category
Common questions about this simulation category
Every Game Maths simulation on this page is a fully interactive Game Maths model that runs in your browser, so you can experiment with probabilities, payoffs and strategies without any installation. Whether you want to learn Game Maths online for a statistics course, sharpen your poker pot-odds judgement, or understand why the house always wins in the long run, these visual tools turn abstract formulas into something you can see and test. The same mathematics powers real-world applications such as insurance pricing, algorithmic trading, sports analytics and the matchmaking systems behind online games.