all game functionality? jesus the code's a mess...