(use the Space key to navigate through all slides)
Follow these steps to run this project on the browser.
Go to the following URL:
https://github.com/andreagalle/snake-autoplay
Not yet a community member?
Signup on GitHub and navigate to the repo andreagalle/snake-autoplay
click on the button:
Use this template > Open in a codespace
This open a browser-based IDE (vscode) in a new tab.
source the hidden .env
file
then launch the setup
script
source .env
setup
this install the necessary dependecies
basically pygame and pygbag modules
or simply lists them all
if the setup
script was already run
finally launch the deploy
script to run a first test
and click on the Open in Browser
pop-up
deploy
or simply visit the URL where the game was deployed
replacing the domain name accordingly, with the one randomly chosen by GitHub, the default port is 8000
(the highlighted string above)
turn off the Codespace not to waste useful resources
go to the Codespaces
tab (GitHub Navigation Bar)
search for the running Codespace and stop it
A Framework created by Hakim El Hattab and contributors
to make stunning HTML presentations