diff --git a/README.md b/README.md index b7309d6..983c429 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,7 @@ the project name might change later. ### How to play (for instance on sxiii's laptop) * Note: here HTTPie is used; can be replaced by curl or any other http tool * Note2: example with localhost [::] is ipv6 localhost representation +* Note3: you can ran sample commands as-is in most cases, as they utilize your user name automatically 0. Try to access the game server without any argument ``` @@ -26,7 +27,7 @@ http [::]:5002 1. Register: send a POST request with your username ``` -http POST [::]:5002/register user=sxiii +http POST [::]:5002/register user=$USER ``` 2. Get challenges @@ -44,13 +45,13 @@ http [::]:5002/challenge/RegisterNet 4. Solve a challenge ``` -http POST [::]:5002/challenge/RegisterNet 'user=sxiii' 'network=2a0a:e5c0:101::/64' +http POST [::]:5002/challenge/RegisterNet 'user=$USER' 'network=2a0a:e5c0:101::/64' ``` 5. Get high score ``` -http POST [::]:5002/points 'user=sxiii' +http POST [::]:5002/points 'user=$USER' ```