We will take Pirate Ship Battles to space!!!! The orignal game started as a project from USPgameDev, that later went to be one of the projects for a agile methods class.
Now in it's third development cycle, alot of changes happend. This include, the theme change from the open seas to space and the use of Type Script.
To run SSB you only need to install docker and docker-compose. And everything else will be done for you, like magic.
-
Install all depencies:
-
Build an run:
sudo docker-compose build sudo docker-compose up
You can run the game server on background by using the flag -d.
Notice: Be sure that postgres is not running on the host machine.
sudo service postgresql stop
Note: A folder named pgdata will be create the first time you build the images, deleting this folder is a quick and dirty way of purging your database.
-
Remember to stop the containers and remove the images if you wish to not host a server anymore.
- Open http://localhost:2000 on your browser of choice.
- Enjoy!
All you have to do is change the docker-compose.yml file and some other voodoo.
Any questions, please contact -@GuilhermeVieira.