create player class, loop in game