(I have learned the gobang program code I use, and I hope it will be helpful to you. If you are interested, you can have a look.
fiveChess\.settings\org.eclipse.jdt.core.prefs
fiveChess\bin\fiveChess\Main$PaintThread.class
fiveChess\bin\fiveChess\Main.class
fiveChess\bin\fiveChess\ManVsRober.class
fiveChess\bin\fiveChess\MenuAction.class
fiveChess\bin\fiveChess\MouseLisen.class
fiveChess\bin\fiveChess\Rober.class
fiveChess\bin\ImageFive\Judge.class
fiveChess\bin\ImageFive\MainChess$1.class
fiveChess\bin\ImageFive\MainChess.class
fiveChess\bin\ImageFive\MenuAction.class
fiveChess\bin\ImageFive\Rober.class
fiveChess\images\black.png
fiveChess\images\BlackWin.png
fiveChess\images\gameBegin.png
fiveChess\images\gameOver.png
fiveChess\images\qipan.jpg
fiveChess\images\white.png
fiveChess\images\WhiteWin.png
fiveChess\src\ImageFive\Judge.java
fiveChess\src\ImageFive\MainChess.java
fiveChess\src\ImageFive\MenuAction.java
fiveChess\src\ImageFive\Rober.java
fiveChess\.classpath
fiveChess\.project
.....)