current game before converting to Javascript OOP