Python based speedcubing (currenty only for clock and pyraminx) trainer software.
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
Install pygame, sounddevice, numpy and requests
pip3 install pygame sounddevice numpy requests
or if didn't work
pip install pygame sounddevice numpy requests
py -3 -m pip install pygame sounddevice numpy requests
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
py -3 main.py
For help, feel free to open an issue!