A Rock Paper Scissors Lizard Spock web application built with Go, React JS and Tailwind CSS.
- Clone the repo to your local machine:
git clone - Install the go packages:
go get - Run the go application:
go run main.go
| Endpoint | Description | Method | Params |
|---|---|---|---|
| /choices | Lists the available choices. | GET | - |
| /choice | Get a randomly generated choice. | GET | - |
| /play | Play a round against a computer opponent. | POST | player |
| /play-multi | Play a round against another player. | POST | player_one, player_two |
