A framework that interfaces games with websockets
Project description
gameServerBackend
A WebSocket based server for web games. Requires at least Python3.7
The objective is to make one websocket server than can track many users and games and know which users is playing what game. The goal is to make it so that it can be easily used to make a new game without having to worry about the issues of managing a websocket server or identifying players, so that the game code can be given just a player and the action the player would like to perform.
Docs
http://www.jonathanrotter.com/gameServerBackend/
Notes
- lets have player id be the name
How to run the example:
- go the the example directory
- run
python3 game.py
- open the
index.html
page - enter a name and connect
Note: Little to no effort has been put into the frontend of the example because it is just for testing purposes
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file gameServerBackend-0.0.4.tar.gz
.
File metadata
- Download URL: gameServerBackend-0.0.4.tar.gz
- Upload date:
- Size: 12.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7c18502c14a92c29c2a2220582f6507652e1907e4abb0987e77f8c8a20f01a3 |
|
MD5 | 3bc57356b32e0f6970aaad6679a4aee4 |
|
BLAKE2b-256 | 38cccc918fa0952d1ee3a035c9483ce664422778267163c348e503ea9828c102 |
File details
Details for the file gameServerBackend-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: gameServerBackend-0.0.4-py3-none-any.whl
- Upload date:
- Size: 41.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2cf6f8f6a8169e8070863f467ae5b8196e66791db77cf2e5bb83affa1087b3c |
|
MD5 | 69ccbda3df69ddfcfd1f87b5fb75635f |
|
BLAKE2b-256 | d0740a92724b3c4407f78bca6ef8c4bbdc2cf01a04e4e0a718a152c12214932a |