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.htmlpage - 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
Metadata
Release files for gameServerBackend 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gameServerBackend-0.0.4.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gameServerBackend-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 53.8 kB
Release files / gameServerBackend-0.0.4.tar.gz
| Download URL | gameServerBackend-0.0.4.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e7c18502c14a92c29c2a2220582f6507652e1907e4abb0987e77f8c8a20f01a3
|
|
BLAKE2b-256 checksum How to use checksums |
38cccc918fa0952d1ee3a035c9483ce664422778267163c348e503ea9828c102
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / gameServerBackend-0.0.4-py3-none-any.whl
| Download URL | gameServerBackend-0.0.4-py3-none-any.whl |
|---|---|
| Size | 41.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f2cf6f8f6a8169e8070863f467ae5b8196e66791db77cf2e5bb83affa1087b3c
|
|
BLAKE2b-256 checksum How to use checksums |
d0740a92724b3c4407f78bca6ef8c4bbdc2cf01a04e4e0a718a152c12214932a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|