Java curriculum design - backgammon

 

I. Introduction

  Backgammon is one of the Mind Sports Games athletics, chess is a two pure-type board games. Typically both black and white pieces were used, at the intersection of the straight line and the horizontal line of the board, forming one of the first five child connection wins.

  Play rules: 1 pawn each party holds one color,

       2. Empty chessboard start.

       3. play chess at the intersection of the board.

       4. In a certain line (horizontal, vertical, diagonal) have five pieces of the same color.

       5. Black to start, after the white and black only at any intersection point Zi start the game.

Second, the project uses technology

  1. File: The file input and output streams on the situation in the board archive, read files, delete files operations.

  2.GUI: Set graphical interface layout, content, graphics and other related operations.

  3. Use git the code management: remote code push on to eclipse gitee warehouse.

Third, functional requirements analysis

  To determine the following functions according to the rules of backgammon and want to add their own features:

  1. Construction of a backgammon board

  2. Zi checkerboard, vertical lines cross

  3. backgammon determine winners and losers

  4. undo

  5. Re-start

  6. The read, save, delete files

Fourth, the project highlights

  1. Optimize the graphical interface

  2. To achieve read, save, delete files function

Fifth, the operating system demo

  1. Ordinary chess determines winning or losing

  

 

 

 

  2. undo

  3. Re-start

  (Undo and start again in order to see what changes the picture temporarily hold up)

  4. Set

  

 

 

  5. Archive

                  

  6. Read the file, delete the file (file read Example)

                 

 

 

 Six team members are responsible for module

member Responsible for module
Jiang Jiajun (Leader) The GUI, the read memory delete files, modify the code optimization

 

 

 

VII. Git address

  https://gitee.com/little_funny/chess

Eight, git commit record screenshots

  

 

Guess you like

Origin www.cnblogs.com/three-J/p/12174351.html