Skip to content

camdaniel1/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D Chess Engine – Java / Swing

A fully functional 2D chess engine built in Java using Swing.
This project served as a precursor and testing platform for the 3D Chess Engine.

⚠️ Note: This project is complete in terms of gameplay features but does not include formal documentation. It was built primarily as a testbed for core chess mechanics.


✨ Features

  • Full Chess Rules Implemented

    • Pawn promotion, castling, en passant
    • Checks, checkmate, and stalemate detection
  • Gameplay Mechanics

    • Undo and redo moves
    • Timer functionality for each player
    • Pause and resume functionality
  • User Interface

    • Swing-based 2D board and piece rendering
    • Interactive piece selection and movement
  • Game Logic

    • Valid move checking
    • Game-over detection when a king is in checkmate

📌 Purpose

  • Served as a testing ground for chess mechanics before transitioning to a 3D engine.
  • Allows experimentation with move validation, game flow, and interface design.

🛠️ Tech Stack

  • Language: Java
  • UI: Swing (Java Standard Library)

🖼️ Screenshots

Here are some screenshots of the 2D Chess game in action:

Screenshot 1

Screenshot 2

Screenshot 3


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages