Chromatic-Vision / cubescramble-rewrite

Python based speedcubing trainer software. (WIP)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cubescramble-rewrite

Python based speedcubing (currenty only for clock and pyraminx) trainer software.

discord

Created in python 3.10.4 with pygame 2.1.2 (SDL 2.0.18), sounddevice 0.4.6, numpy 1.22.3 and requests 2.28.1

Documentation Markdown: link to the file

Setup

Install pygame, sounddevice, numpy and requests

*nix or *bsd or MacOS

pip3 install pygame sounddevice numpy requests

or if didn't work

pip install pygame sounddevice numpy requests

Windows

py -3 -m pip install pygame sounddevice numpy requests

Run

*nix or *bsd or MacOS

python3 main.py

If the programs gives error like this:

Traceback (most recent call last):
  File ".../cubescramble-rewrite/main.py", line 2, in <module>
    import game
  File ".../cubescramble-rewrite/game.py", line 7, in <module>
    import timer
  File ".../cubescramble-rewrite/timer.py", line 4, in <module>
    import sounddevice
  File ".../site-packages/sounddevice.py", line 71, in <module>
    raise OSError('PortAudio library not found')
OSError: PortAudio library not found

try:

sudo apt-get install libportaudio2

or if that didn't work

sudo apt-get install libasound-dev

Windows

py -3 main.py

For help, feel free to open an issue!

About

Python based speedcubing trainer software. (WIP)


Languages

Language:Python 100.0%