发表于 2018-08-26 08:45:13 by 月小升
五子棋是小时候那张纸就能小朋友玩的游戏 java的算法也很简单 代码片段 super("五子棋"); boardPanel = new JPanel(); boardPanel.setLayout(new GridLayout(length, length, 0, 0)); boardPanel.setComponentOrientation(ComponentOrientation.RIGHT_TO_LEFT); for(int i=0; i