https://github.com/ezvezdov/java-chess
Final project for subject PJV (Programming in Java) of CTU FEE.
https://github.com/ezvezdov/java-chess
chess gui java
Last synced: 11 months ago
JSON representation
Final project for subject PJV (Programming in Java) of CTU FEE.
- Host: GitHub
- URL: https://github.com/ezvezdov/java-chess
- Owner: ezvezdov
- Created: 2023-03-05T13:19:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T13:32:03.000Z (over 3 years ago)
- Last Synced: 2025-03-14T21:48:54.964Z (over 1 year ago)
- Topics: chess, gui, java
- Language: Java
- Homepage:
- Size: 225 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Java-Chess
Final project for subject PJV (Programming in Java) of CTU FEE.
# Theme of project is Chess game.
Main functions:
1. Singleplayer
2. Multiplayer
3. Continue loaded game
4. Timer
# Chess manual
1) Press **Start** and choose type of game (**Singleplayer** or **Multiplayer**)
2) Type your name
3) Play the game: click on piece to choose it and click on another square to make move.
# Documentation
Project has MVC structure:
Start - main runnable class, create Controller
Controller - class, which controlls View and Model classes
view package
- View (extends Application) - GUI, visualisat of game
- MenuScene (extends Scene) - makes Menu layout Scene
- BoardScene (extends Scene) - makes chess board layout Scene (main playground Scene)
model package
- Model - main Logic class, controlls all data classes
- Player - representation of player
- ComputerPlayer - class, which extendst Player class and represents Computer move, when player playes single game.
- Squares - boxes on Chess board
- Board - representation of chess board
model.piece package
- Piece - abstract class for representation chess pieces
- BishopPiece - representation of Bishop piece
- KingPiece - representation of King piece
- KnightPiece - representation of Knight piece
- PawnPiece - representation of Pawn piece
- QueenPiece - representation of Queen piece
- RookPiece - representatnion of Rook piece
Project [UML diagram](docs/UML.pdf)