Skip to content

The board game Chinese Chess written almost entirely with Java and JavaFX.

License

Notifications You must be signed in to change notification settings

aliang6/Chinese-Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chinese-Chess

Chinese Chess board game written using Java and JavaFX

Audience

Players of Chinese Chess who want to play the board game on the computer rather than on a real life board.

Experience

The user compiles the java files and opens the start screen to be greeted with four buttons: 'Start', 'About', 'Load', and 'Exit'. Clicking the 'Start' button brings the user to another screen with the game board and two other buttons: 'Save' and 'Exit'. The player can click on the pieces to see their possible behaviors and the winner is greeted with a screen announcing their victory.

Starting the Game

How to Compile and Start the Application

  • Clone the repository and use the terminal or command prompt to navigate to the folder that the cloned repository is in.
  • Enter the 'Chinese-Chess' folder followed by the 'chinese_chess' folder with the command 'cd /Chinese-Chess/chinese_chess'.
  • In the folder, compile the java files with the command 'javac *.java'.
  • Start the application with the command 'java StartScreen'.

Game Buttons Explanation

  • Start Screen
    • Start - starts a new game of Chinese Chess
    • About - explains the behaviors of the pieces and the rules of the game
    • Load - loads a previously saved game
    • Quit - exits the application
  • Game Screen
    • Save - saves the existing game, allowing it to be loaded at a later time
    • Quit - exits the application

Technical

Views

  • Start Screen
  • About Screen
  • Game Screen
  • Victory Screen

Languages

Front-End

  • JavaFX
  • CSS

Back-End

  • Java

About

The board game Chinese Chess written almost entirely with Java and JavaFX.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published