Skip to main content

A framework that interfaces games with websockets

Project description

Python application

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

gameServerBackend-0.0.4.tar.gz (12.5 kB view hashes)

Uploaded Source

Built Distribution

gameServerBackend-0.0.4-py3-none-any.whl (41.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page