Hrqls: The game will end when a person is NOT able to make another move. So if your opponent moves, you will still get a move - since in theory you might open up a space for them to move. If you don't, and then the game will go back to them - see no move is possible - and the game will end.
This is how I BELIEVE it should work - 95% sure..... but not 100% sure.