basic gameplay routine done

still some functionalities to be done, and exeptions to be handelled