The pet project was inspried by this article, it helps me more understand about OOP, specially in python class and vision (or thinking) before hand on writing scripts. Some problems were quite interest such as:
- how to make snake run and change directions and make snake step through the wall and appear.
- snake eats apple and game over conditions
- choose random apple with recursion
Ensure sqlite was installed
sudo apt update
sudo apt install sqlite3
Then
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
python3 snake_app.py