Skip to content

SCMARS/java-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Chess Game

A simple chess game implemented in Java with a graphical user interface using Swing.

Features

  • Full chess game implementation
  • Graphical user interface
  • Move validation for all pieces
  • Turn-based gameplay
  • Visual indication of selected pieces and possible moves

How to Run

  1. Make sure you have Java installed on your computer
  2. Clone this repository
  3. Compile the source files:
javac -d out src/*.java
  1. Run the game:
java -cp out ChessGUI

How to Play

  1. Click on a piece to select it
  2. Valid moves will be highlighted in green
  3. Click on a highlighted square to move the piece
  4. Take turns between white and black pieces

Project Structure

  • src/ - Source code files
  • res/ - Resource files (piece images)
  • out/ - Compiled class files

Screenshots

[Screenshots will be added later]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published