Skip to content

AshaenM/Quantum-Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quantum Chess Project

Overview

The Quantum Chess Project is an innovative take on the classic chess game, integrating quantum mechanics principles. Players can explore unique mechanics such as superposition and quantum measurement, blending strategy with scientific concepts. This project aims to create an engaging gameplay experience while also demonstrating the application of quantum mechanics in game development.

Features

  • Quantum Superposition: Pieces can exist in multiple states until measured.
  • Quantum Measurement Techniques: Various approaches to determine a piece's state are implemented and analyzed.
  • Classical Chess Mechanics: Retains the foundational rules of chess for familiarity.
  • Performance Analysis: Metrics to evaluate the efficiency and strategic value of different measurement techniques.
  • Interactive Gameplay: Visual representation of quantum states, allowing players to make informed decisions.

Technologies Used

  • Programming Language: Python
  • Game Framework: Pygame
  • Development Environment: Visual Studio Code

How to Play

  • Download python and pygame libraries
  • Run main.py
  • Left click a piece to select it and left click on a square to move it
  • Left click a piece and then right click on 2 squares to superpose it
  • Middle Click 2 superposed pieces and then left click on a square to merge them.

Rules

  • A piece can have upto 4 superposed states on the board at the same time.
  • Pieces can be merged only if they have 2 states on the board and a common square to move to.
  • Pawns cannot be superposed or capture superposed pieces.
  • Win is determined by checkmating the opponent.

Key presses

  • 1: Set Collapse Method to Random Collapse
  • 2: Set Collapse Method to Proximity Collapse
  • 3: Set Collapse Method to Entropy Collapse
  • 4: Set Collapse Method to Deterministic Collapse
  • 5: Set Collapse Method to Probability Based Collapse

Future Enhancements

  • Tutorials for players
  • AI bots to play against

Acknowledgements

About

Player vs Player chess but with Quantum Mechanics where pieces can be superposed.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages