🐙 https://github.com/d-mckee/qhess

🌐 https://host.edwardgao.com/Qhess/

Overview

This project was created for HackSU 2021 along with Devon McKee and Alex Wallen. The theme of the hackathon was board games. We added a quantum twist to chess, hence, Qhess.

Since this was a 1.5-day hackathon, and the scope of our project was way larger than reasonable for a 1.5-day project, it was not completely finished. Most of the first day of the hackathon was spent discussing the rules and theory behind the game, leaving us with only a day to implement it.

What I learned

How to run

After downloading the repository, assuming you have Node.js installed, run the following command in the srv and cln directories to install the necessary Node modules:

npm install

Then, run the following command in the srv directory:

npm start

Brainstorming notes

Here are some screenshots of the idea during brainstorming:

Design (quantum moves)

Wave functions

Instead of regular, deterministic moves, when a player wants to move a chess piece, they must choose its direction and energy level instead. This determines the shape of its wave function, which is a probability density function of where the chess piece will land in the next time step.