You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
write a function startGame() that has been passed two User objects it first ask User 1 to enter his turn by first entering number of row, then number of column and finally the element to pass at that location. Funtion will ask both user one by one and as soon as a user enter his turn it will print the board again. Before priting the board the function pass the board to the validBoard function to check if it is valid or not if it is valid next person turns appears. If a user enters incorrect turn 3 times one after another his one point will be deducted and his turn will be skipped