Add game logic interface and a basic implementation.