Please extract this to a player method to avoid cluttering up game with it.