Skip to content

Chessproject made in collaboration with @jorgenfj (Course: TDT4100 - Object Oriented Programming)

Notifications You must be signed in to change notification settings

MadsJJ/Chessproject

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Chessproject

This is a Maven-based chess project developed using JavaFX to provide a user-friendly, graphical chess interface. The project allows users to play chess with full drag-and-drop or click functionality to move pieces. Legal moves are highlighted when a piece is selected, ensuring adherence to chess rules.

Features

  • Graphical User Interface (GUI): Built using JavaFX, offering an intuitive experience for interacting with the game.
  • Mouse Interaction: Drag-and-drop pieces or click a piece and then a square to move.
  • Legal Moves Highlighting: When a piece is selected, its possible legal moves are highlighted for easy reference.
  • Complete Chess Rules: Enforces all standard chess rules including check, checkmate, castling and pawn promotion.

image

Installation and Setup

Prerequisites

  • Java JDK 17 or higher: The project uses Java 17, as specified by the <release>17</release> configuration in the Maven Compiler plugin.
  • Maven 3.8 or higher: Ensure Maven is installed to handle project dependencies and building.
  • JavaFX 19: This project relies on JavaFX for the graphical user interface. You need JavaFX version 19, as specified in the dependencies section.
  • JUnit 5.7: The project uses JUnit for testing, specifically version 5.7.0.

How to Run

  1. Run ChessApp.java in VSCode

About

Chessproject made in collaboration with @jorgenfj (Course: TDT4100 - Object Oriented Programming)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%