added player class and updated flow of game drive