Skip to content
Online Battle Ship game using Websocket
Python HTML Other
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 1 commit behind NguyenSyAn:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Online Battle Ship game

This project is a Battleship Online game system.

Main functions:

  • Play Battle Ship online with friends.
  • Online chatting.
  • Friend list management.

Gaming screen


1. Prerequites

  • python3
  • pip3
  • docker
  • docker-compose

2. Start server in development

  • In the first time running or when you want to re-create the database, please set RECREATE_DB to true in docker-compose.yml. After running the docker-compose, change it to the default value (false).
sudo docker-compose up
  • Backend and frontend will be up at port 80.

3. Build and up in production

sudo docker-compose -f docker-compose-prod.yml build --nocache
sudo docker-compose -f docker-compose-prod.yml up

4. API document

Battleship API

See OnlineGames.postman_collection.json for Postman API examples.

5. Reference

You can’t perform that action at this time.