Implement game controller with correct functionalities.