logoYuvraj Gupta
HomeAboutProjectsSkillsContact
Resume
logoYuvraj Gupta
Back to Projects

Chess Game

A JavaFX-based chess application developed as part of the CSC 413 course project. The game demonstrates object-oriented programming principles, interactive UI design, and advanced gameplay features. It reimagines traditional chess by introducing unique variants such as Drook, Amazon, and Chess960, while also integrating the powerful Stockfish engine for AI-driven gameplay. The project balances classic chess rules with innovative twists, offering multiplayer options, AI opponents, and variant gameplay modes. It highlights technical proficiency in Java programming, game state management, AI integration, and the ability to adapt complex rules into a polished 2D interface after iterative development attempts in 3D. Ultimately, the project provides a challenging, feature-rich experience for casual players and enthusiasts alike, with an emphasis on smooth animations, responsive design, and rich strategic depth.

Java 21 SDKJavaFX (UI & Animation)Stockfish Engine (AI Bot)IntelliJ IDEA (Development Environment)
View CodeView Documentation

Note: Documentation is available; a live demo is not hosted for this project.

Chess Game Screenshot

Project Features

♟️

Innovative Chess Variants

Introduces custom chess variants to enrich gameplay. The Drook, a rook-like piece limited to moving only two squares, forces players to rethink traditional strategies. The Amazon, combining the powers of a queen and knight, adds versatility and unpredictability. Chess960 randomizes starting positions, eliminating memorized openings and encouraging creative play from the start.

⚡

Multiplayer & Single-Player Modes

Supports both local multiplayer matches and single-player experiences against the Stockfish AI engine. Multiplayer allows direct human competition, while the AI bot provides scalable challenges, adapting difficulty to player skill levels for engaging and rewarding gameplay.

🤖

Stockfish-Powered AI

Integrates the Stockfish engine to simulate realistic, challenging opponents. The AI is capable of delivering accurate moves, simulating different difficulty levels, and providing strong opposition for players who want to practice or improve without human counterparts.

📊

Polished 2D Game Interface

Built with JavaFX after pivoting from an ambitious but challenging 3D approach. The final interface features smooth animations, dynamic board updates, and intuitive controls, ensuring a visually appealing and accessible game. The decision to refine a 2D experience reflects adaptability and a focus on delivering quality gameplay.

Project Info

Duration

06/2024 – 07/2024

Role

Full-stack Developer

Team Size

Solo Project

Status

Completed

Technologies Used

  • • Java 21 SDK
  • • JavaFX (UI & Animation)
  • • Stockfish Engine (AI Bot)
  • • IntelliJ IDEA (Development Environment)

Project Gallery

Game Launcher & Menu
Game Launcher & Menu
Features a visually appealing start menu created with JavaFX. Provides options for single-player against AI, multiplayer, and variant selection. The launcher initializes the game environment, loads resources, and sets up user configurations.
Player Setup & Board Initialization
Player Setup & Board Initialization
Allows players to choose colors, configure timers, and start games in multiplayer mode. Also highlights the seamless board initialization process, preparing the game state for immediate play
Dynamic Board Gameplay
Dynamic Board Gameplay
Core gameplay interface showcasing smooth piece movement, rule enforcement, and animations. Implements complete move logic, including special moves such as castling, pawn promotion, and en passant.
GitHub Repository
GitHub Repository
The full source code, resources, and project history are available on GitHub. The repository demonstrates consistent version control, documentation, and iterative development practices. Includes demo videos, build files, and integration with Stockfish resources.
Stockfish AI Integration
Stockfish AI Integration
Showcases the AI opponent powered by Stockfish. The bot delivers accurate moves, making single-player mode challenging and rewarding, with difficulty scaling based on player skill.
Game Analytics & Feedback
Game Analytics & Feedback
Includes evaluation tools like the EvaluationBar, which displays Stockfish’s real-time assessment of positions. Provides valuable feedback to players about positional advantages and mistakes.
Class Architecture & Design
Class Architecture & Design
Presents the UML class diagram and architecture. Key classes include Launcher, GameState, SoundPlayer, VariantsMenuPanel, and StockfishEngineLoader, each contributing to modularity, clarity, and extensibility.

Interested in This Project?

I'm always excited to discuss my projects and share insights about the development process. Feel free to reach out if you'd like to know more!

Get In TouchView More Projects

Yuvraj Gupta

AI Engineer building multi-agent systems, production retrieval, and research that ships. San Francisco.

Quick Links

  • Home
  • About
  • Projects
  • Skills
  • Contact

Get In Touch

📍San Francisco, CA
📧yuvrajgupta1808@gmail.com

© 2026 Yuvraj Gupta. All rights reserved.