Simple A/B choice game https://ab.21x9.org
Go to file
gpkvt ff6dbf7d04 Fixed darkmode 2023-06-03 18:20:35 +02:00
static Added dark/light theme auto switch 2023-06-03 18:15:48 +02:00
templates Fixed darkmode 2023-06-03 18:20:35 +02:00
LICENSE Initial commit 2023-06-02 09:47:04 +02:00
README.md Updated README 2023-06-03 14:26:46 +02:00
ab.txt Fixed typo 2023-06-03 14:12:23 +02:00
config.ini Added dark/light theme auto switch 2023-06-03 18:15:48 +02:00
game.py Added dark-mode 2023-06-03 15:30:12 +02:00
requirements.txt Updated requirements 2023-06-02 22:09:18 +02:00
supervisor.conf Added logfile 2023-06-02 12:31:55 +02:00

README.md

abgame

Simple choice game.

Installation

  1. Clone the Repo into /opt/ab/
  2. Put A/B questions in ab.txt
  3. Set config variables in config.ini
  4. Install requirements (pip install -r requirements.txt)
  5. Install supervisord
  6. Copy supervisor.conf to /etc/supervisor/conf.d/abgame.conf
  7. Reload supervisor (supervisorctl reload)
  8. Open your browser and navigate to http://localhost:5000