added starter code for single player game