-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreadme.txt
31 lines (21 loc) · 981 Bytes
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
## Installation Instructions
# Start with a fresh install of Raspberry Pi OS (legacy, 64 bit) Debian Bullseye & Update System Packages:
sudo apt update && sudo apt upgrade -y
# Install or Upgrade pygame and pygame_menu
pip install --upgrade --force-reinstall pygame==2.3.0
# Install RPi.GPIO
sudo pip install RPi.GPIO
# Install SDL2 Dependencies
sudo apt-get install libsdl2-mixer-2.0-0 python3-sdl2
# Without installing the above packages, you will encounter errors
# loading the required fonts to run the game, and running the program.
## Getting the software:
# Clone the repository
git clone https://github.com/ratbasketball/rat_basketball.git
# Move Python files to the desktop
mv rat_basketball/*.py ~/Desktop/
# Clean up by removing the repository folder (optional)
rm -rf rat_basketball
## Game instructions
# Execute the file ratbasketball.py from your desktop.
# Modify the controls.py file if necessary for your controller.