implemented a player sprite