created game functions