Online battleships game Using python and JS
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
- Use the pip to install libs from requirements.txt.
pip install -r requirements.txt
- Fill server/config.py file (if needed)
- Change IP and PORT in client/script.js file (if needed)
Usage
Server
Launch server:
python server/main.py
Client
- Open index.html from the client folder
- 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!