Main game file to handle most mechanisms.