MakeItPlay - The Dummies Go

The Dummies Go is a Go implementation of a player (bot) for MakeItPlay football game.
This bot was made using the Client Player for Go.
As this name suggest, The Dummies are not that smart, but they may play well enough to help you to test your bot.
Requirements
- Docker >= 18.03 (https://docs.docker.com/install/)
- Docker Compose >= 1.21 (https://docs.docker.com/compose/install/)
- Go Lang >= 1.12 (https://golang.org/doc/install)
Usage
You have two ways to make The Dummies play, they are described below.
However, in both ways we will need to start the game server first:
docker run -p 8080:8080 -it makeitplay/football:1.0.0-alpha
Then you may start The Dummies and the other team.
Option A (no Git Clone needed)
You do not have to download The Dummies to make it play against your team.
If you only wish to play with them, you may them as a Docker container:
docker run makeitplay/the-dummies-go -team=[home|away] -number=[1-11]
However, you will need to execute the command above 11 times (one for each player position).
So, you may downloading this script and run the command below instead:
./start-team-container.sh makeitplay/the-dummies-go [home|away]
Option B (recommended for developing environment because the startup is a little faster)
If you are working in your bot, and you would like to play against The Dummies several times to test your bot, I recommend
you having a copy of The Dummies in you machine, so it will startup faster than running them as container.
First, clone the project using the command:
go get github.com/makeitplay/the-dummies-go
Then, you may execute the script play.sh [home|away] in that directory always you want to start the team.
The Dummies vs The Dummies
If you have no other team to play against The Dummies or if you are just curious to watch a Make It Play match,
you may start a game using The Dummies as the Home and Away teams.
- Download the Demo Docker compose file
- Execute the command bellow:
HOME_TEAM=makeitplay/the-dummies-go \
AWAY_TEAM=makeitplay/the-dummies-go \
docker-compose -f docker-compose-demo.yml up
- Watch the game in the browser at the address
http://localhost:8080
Important: You probably want to remove that bunch of containers from your environment later. So, execute the command below:
HOME_TEAM=makeitplay/the-dummies-go \
AWAY_TEAM=makeitplay/the-dummies-go \
docker-compose -f docker-compose-demo.yml down