• The object of the game is to bring PEACE to the world for Thanksgiving using linear algebra.
  • Work in the field of F of integers modulo seven and set child=PEACE=0, dragon=NATIONALISM=1, wizard=DEMAGOGUERY=2, sorceress=FAMINE=3, unicorn=IDEALISM=4, hydra=WAR=5, lephrechaun=GREED=6.
  • Observe the results of pressing the buttons. They act independently. Think about it for a while....
  • Find a system of equations over F whose solution will tell you how to win the game.
  • Solve the system of equations using linear algebra. Be careful, the only numbers allowed in F are 0-6. You cannot multiply by one-half. Before you start, figure out the multiplicative inverses of 2,3,4,5,6 in F.
  • How many solutions are there to the game? What is the minimum number of buttons that must be pushed to win the game?
  • Go on to Game 2 which is similar but theoretically more interesting (available over Thanksgiving).
  • Thanks to Diego Ongaro for writing most of the code!