Skip to content

dagolub/rps

Repository files navigation

About

An automatic game where one player choice paper and another make a random choice

How to play

docker pull dagolub/rps
docker run -it --rm dagolub/rps

If you want choose number of games

docker run -it --rm dagolub/rps php /code/bin/console.php app:game --number-games=5

How to test

docker pull dagolub/rps:test
docker run -it --rm dagolub/rps

How to debug

Read this

docker pull dagolub/rps:xdebug
docker run -it --rm \
--env "XDEBUG_CONFIG=remote_host=docker.for.mac.localhost remote_port=9000" \
--env "PHP_IDE_CONFIG=serverName=rps" \
dagolub/rps:xdebug php /code/bin/console.php

Releases

No releases published

Packages

No packages published