The last field is the "color" of the move, which is an integer that indicates X or o.
最后一个字段是步着的“颜色”,它是一个值为X或O的整数。
The onClick handler sets the current color of the board based on whether the user clicks the X or o button.
onClick处理程序根据用户点击的是X还是o按钮设置面板的当前颜色。
These two buttons are the X and o buttons that the user USES to specify which color he or she is playing.
这两个按钮就是用户用于指定玩游戏时所用颜色的x和o按钮。
应用推荐