Pong
An implementation of Pong for CodeGame.
Known instances
Usage
# Run on default port 8080
pong
# Specify a custom port
pong --port=5000
## Specify a custom port through an environment variable
CG_PORT=5000 pong
Running with Docker
Prerequisites:
# Download image
docker pull codegameproject/pong:0.3
# Run container
docker run -d --restart on-failure -p <port-on-host-machine>:8080 --name pong codegameproject/pong:0.3
License
Copyright (C) 2022 Julian Hofmann
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see https://www.gnu.org/licenses/.