Lugo - The Dummies Go

The Dummies Go is a Go implementation of a player (bot) for Lugo game.
This bot was made using the Go Client Player.
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.
Option A - Running them in containers (no Git Clone needed)
Download the Docker compose file that starts
the server along with 11 instances of The Dummies bot.
Start the set of containers:
TEAM_IMAGE=lugobots/the-dummies-go TEAM_PLACE=away docker-compose up
That command will start the team as the away team (defined by the env variable TEAM_PLACE
).
Now you may start your bot to play against The Dummies
Option B - Running the processes directly on your machine (recommended for developing environment because the startup is a faster)
If you are working in your bot, and you want to play against The Dummies several times to test your bot, so I recommend
you having a copy of The Dummies in you machine because the bots will startup faster than running them as containers.
- Clone the repository to your machine
- Start the game server
docker run -p 8080:8080 lugobots/server:v1.1 play --dev-mode
and then, you may execute the script ./play.sh [home|away]
in that directory when 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 Lugo 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=lugobots/the-dummies-go \
AWAY_TEAM=lugobots/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=lugobots/the-dummies-go \
AWAY_TEAM=lugobots/the-dummies-go \
docker-compose -f docker-compose-demo.yml down