quantum-chess

git clone git://git.codymlewis.com/quantum-chess.git
Log | Files | Refs | LICENSE

README.org (844B)


      1 #+TITLE: QuantumChess
      2 #+AUTHOR: Cody Lewis
      3 This is a python implementation of quantum chess using IBM's Qiskit for the
      4 case of piece superposition. That is, to calculate the probability of the
      5 entire pieces death. Sadly, the game runs for too long to have entanglement
      6 of the qubits.
      7 The web server side was intended to only be a graphical frontend to the program,
      8 thus is a bit inefficient as a web app, and on heroku the backend sometimes gets
      9 reset, so the frontend no longer matchs the backend.
     10 
     11 ** Requirements
     12 - flask
     13 - qiskit
     14 - bleach
     15 - gunicorn
     16 
     17 ** Installing
     18 Get python, then run
     19 #+BEGIN_SRC shell
     20 pip install flask qiskit bleach gunicorn
     21 #+END_SRC
     22 
     23 ** Running
     24 From this root execute:
     25 
     26 *** Web Version
     27 #+BEGIN_SRC shell
     28 gunicorn wsgi --log-file -
     29 #+END_SRC
     30 
     31 *** Command Line version
     32 #+BEGIN_SRC shell
     33 cd cmd/
     34 python play.py
     35 #+END_SRC
     36