阅读背景:

Java - Tic Tac Toe - 为什么我的“切换播放器”方法不起作用?

来源:互联网 

Why does my switchPlayer() method only work once? The method should work independently just fine, and when I put it inside my playGame() method after placeMark(), it works continuously, but that messes up my currentPlayer variable, which messes up other methods. I do not want to make a player object, so I assume I am just missing something simple, like where to place the switchPlayer() method.Why does my switchPlayer() method only work onc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: