converted game model to function, and added skeleton for make move function