vuolo / Computer-Graphics-Final-Project_3D-Chess

A 3D Chess game that brings the classic board game to life using OpenGL in pygame. Enjoy playing the traditional game of chess, but with enhanced graphics, customizable boards, and game pieces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

3D Chess Game

[Project Report]

Final Project for Computer Graphics (CAP 4720)

Authors

  • Michael Vuolo
  • Maxwell Graeser
  • Gani Begawala
  • Jonathan Gilbert

About The Project

Project Screenshot

In this 3D Chess game project, we've revamped the traditional chess experience using OpenGL in pygame, offering players an immersive experience with enhanced graphics, customizable boards, and game pieces. The game stands out with its realistic physics, including fluid movement animations, soft shadows, and reflections, and is further enriched by integrating the Stockfish chess engine for a challenging AI-driven gameplay.

Implemented Features

  • Customizable Game Pieces: Choose from various materials like wood or metal, each with distinct reflections and textures.
  • Customizable Chess Board: Options include classic, wooden, and RGB.
  • Customizable Environments: From space environments to imaginary lands.
  • Game Physics: Movement animations for chess pieces with soft shadows and realistic reflections.
  • AI Integration: Challenging gameplay with the Stockfish chess engine.
  • Sounds: Including distinct effects for piece movements, special audio cues for capturing pieces, checks, and checkmates, as well as ambient background music that varies by selection.

Usage

  1. Clone the repository
  2. Install dependencies: python -m pip install -r requirements.txt
  3. To start the game: python -m main

Tech Stack

  • OpenGL
  • Pygame
  • Python
  • Stockfish Chess Engine

Libraries Used

numpy==1.25.2
pygame==2.5.1
PyOpenGL==3.1.7
python-chess==1.999
stockfish==3.28.0
pygame-menu==4.4.3
pyrr==0.10.3

References & Resources

About

A 3D Chess game that brings the classic board game to life using OpenGL in pygame. Enjoy playing the traditional game of chess, but with enhanced graphics, customizable boards, and game pieces.


Languages

Language:Python 96.6%Language:GLSL 3.4%