int[] newCard = {2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,6,6,6,6,7,7,7,7,8,8,8,8,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11hitStay = keyboard.next(); int cc = 4;
我还不熟悉面向对象编程和编写紧凑的代码,所以我可能忽略了一些东西,我试图想出一种方法来检查tic tic中的垂直赢和对角线赢,我已经有水平的了。
#creates the gameboard that stores if spaces are open or not#0 = open space#2 = X
def find_winner():
java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:694)
at java.security.AccessController.doPrivileged