git clone https://github.com/antihackerhackerclub/snekwars_client
cd ~/Downloads/snekwars_client/
python3 -m venv .venv
source .venv/bin/activate
pip3 install .
python
cd "C:\Users\%username%\Downloads\snekwars_client-main\snekwars_client-main\"
python3 -m venv .venv
cd .venv/Scripts && activate && cd ../../
pip3 install .
python
To use the client you must have two pieces of information provided by AHHC. You must have the url
of the SnekWars server and a registration code
(found on Discord OR by visiting our booth).
With those two pieces of information you can create your account as follows using a Python interpreter:
>>>
import snekwars_client
>>>
snekwars = snekwars_client.event("https://snekwars.antihackerhackerclub.com")
>>>
snekwars.register_account("Email Address", "Your Display Name","Your Chosen Password", "registration code
")
>>>
snekwars.login("Email Address","Your Chosen Password")
>>>
snekwars.login("Email Address","Your Chosen Password")
>>>
snekwars.challenge(0)
>>>
data = snekwars.data(0)
>>>
snekwars.solve('1234')
You must submit your solution within 3 seconds of querying for data (by default...some challenges override this to a higher timeout). The .solve() function automatically submits your solution to the last .data(#) queried.
SnekWars presented by @0xAHHC