Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 685 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 685 Bytes

Gobang

2020Java Final Experiment -- Golang Game

FrameWork

MVC FrameWork

This is the first time I use MVC, so I don't know if it is designed reasonable :)

|--Model
    |--Game.java
    |--Golang.java
    |--Robot.java
|--View
    |--chessPane.java
    |--start.fxml
|--Control
    |--Controller.java

Features

  1. You can define the x linenums and y linenums of the chess pane, if x equals y and both are odd, Tianyuan(the middle point) shows.
  2. There are 2 modes -- PVP and PVE, and you can choose which one of black or white is AI(although it is not so intelligent)
  3. The color of the chess pane is BURLYWOOD, and the border is bold, which make it looks better.