EE150 - Fall 1996

Group Programming Assignment #4, #5
Questions and Answers


------

Q. What if there is a tie when the chips are slid down? For example, if the row slides and it turns out that black side got two five in a rows and red side got one as well. I think you should declare it a tie and start the game over again. But that is just my feelings because it doesn't mention anything about ties in the rules.

A. In fact this is precisely correct. You should detect if BOTH players have won after some move. This circumstance is a tie, and the game is over. You probably want to give the players a chance to play again after the end of any game.

Q.

A.

------ ------