Game framework allowing easily add new games (I hope), minimal and simple design.
- WebSocket based Web frontend
- Blocking socket API is used, WebSocket messages are retranslated to socket via
websocat - Reconnection without server restart
- Console client
- CPU random-moving players (good for testing)
simple-term-menupython package if you'll use console clientwebsockatlinux tool if you'll use web client
- App is not scaling on a large number of users (otherwise async API should be used at least)
- Game is turn-based: at every moment of time only one player is active
- Minimalistic interface (basically I just wanted to write game logic with minimal effort, not sophisticated frontend)
lib: general purpose python utilslogic: game logic common librarylogic.game: game logic of every specific gamelogic.io: reusable components for client communication (socket, web, console, AI etc.)- clients:
web,socket_client.py - root: game servers using all components and tests