Battleships

Online battleships game

Using websockets to connect to the client.

SQLite database for storing account data and game logs (for players top)

And JS for the client-side

Installation

  1. Use the pip to install libs from requirements.txt.

pip install -r requirements.txt
  1. Fill server/config.py file (if needed)
  2. Change IP and PORT in client/script.js file (if needed)

Usage

Server

Launch server:

python server/main.py

Client

  1. Open index.html from the client folder
  2. Create an account and play (you will need a friend)

Debug

You can find all errors in log/errors.log file

Contributing

Pull requests and an issues are welcome!

GitHub

https://github.com/skrepkaq/Battleships