This project is a simulation of the classic jokenpo game, where the player plays against the computer
make run
Below are examples of curl to play:
- Paper
curl http://0.0.0.0:8000/move \
--include \
--header "Content-Type: application/json" \
--request "GET" \
--data '{"move": "paper"}'
- Rock
curl http://0.0.0.0:8000/move \
--include \
--header "Content-Type: application/json" \
--request "GET" \
--data '{"move": "rock"}'
- Sissors
curl http://0.0.0.0:8000/move \
--include \
--header "Content-Type: application/json" \
--request "GET" \
--data '{"move": "sissors"}'