Skip to content

RmitNeoculturetechclub/Xiang-Qi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XIANG QI

Overview

This project is an implementation of Xiang Qi (Chinese Chess) using Java and JavaFX. It provides a graphical user interface for playing the game.

Pieces' Value

PIECES POINTS
Solider 1.0
General 1000.0
Elephant 2.0
Canon 4.5
Chariot 9.0
Advisor 2.0
Horse 4.0

Features

  • Black Player vs Red Player Mode: Enjoy engaging matches between two players.
  • Movement Guide: Receive guidance on possible movements for each piece during gameplay.
  • General Piece Handling: Implement specific logic for the General piece.
  • Time Measurement: Keep track of the time spent by each player during the game.
  • Final Score Popup: Display a pop-up message chart showcasing the final score and the victorious player.

Screenshots

User interface

Gameplay with possible move

Getting Started

  • Clone project repository in terminal:
git clone https://github.com/RmitNeoculturetechclub/Xiang-Qi.git
  • Run file path (by hand):
JavaFX/src/main/java/com/example/xiangqi/Game.java

Prerequisites

  • Java >= 8
  • JavaFX (included in Java SE 8 and 11)

Usage

  • Use the mouse to interact with the game board.
  • Moves are allowed only in corresponding player order (Red or Black).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published