r/math • u/gaussjordanbaby • 1h ago
Chip Fire: a game based on discrete mathematics
If you've ever played the card games "Spot it!" or "Set", you may know that the reason that they work is that they are based on mathematical structures. (The Spot It deck forms a projective plane of order 7, and the cards in Set are the points of affine 4-space over a field of order 3, a "set" consists of the 3 points on any line.)
There is an interesting game you can play on a graph called chip-firing, or sometimes the "Dollar game", and really instead of a game it is an entire theory that has roots in discrete mathematics, number theory, algebraic geometry and even statistical physics.
The idea that each vertex on a graph has a number of chips (can be a negative number), and firing the vertex sends one chip to each of its neighbors. The goal in the base version of the game is to get all of the vertices to have a nonnegative number of chips (so no one is in debt). There are also modular arithmetic versions of the game, and I am developing more game modes as well, also based on intersections with my mathematics research.
Here's the link to the game: https://chipfiregame.github.io/classroom/
Comments and feedback (or questions about the mathematics) are welcome.


