Divided gameplay functionality across three partial classes for ease of maintenance of the different game modes.