https://github.com/petters/realtimechess
In Real-time Chess (or Kung-Fu Chess, Ninja Chess), all pieces can be moved simultaneously!
https://github.com/petters/realtimechess
chess chess-variant game multiplayer-online-game real-time-strategy
Last synced: 3 months ago
JSON representation
In Real-time Chess (or Kung-Fu Chess, Ninja Chess), all pieces can be moved simultaneously!
- Host: GitHub
- URL: https://github.com/petters/realtimechess
- Owner: PetterS
- License: gpl-3.0
- Created: 2018-02-19T21:59:34.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-12-17T12:42:45.000Z (over 4 years ago)
- Last Synced: 2023-03-12T04:12:06.638Z (about 2 years ago)
- Topics: chess, chess-variant, game, multiplayer-online-game, real-time-strategy
- Language: Python
- Size: 166 KB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
This is a project where I explore things that are new to me (asyncio, ES6 modules, Selenium, pytest-cov, …).
# Real-time Chess
In **Real-time Chess** (or [**Kung-Fu Chess**](https://en.wikipedia.org/wiki/Kung-Fu_Chess), **Ninja Chess**), all pieces can be moved simultaneously, but there is a short cool-down afterwards. This is a very fun multi-player game, completely different from regular chess!This repository contains a Python server that hosts real-time Chess games.
There is a test server running intermittently at [chess.strandmark.net](https://chess.strandmark.net).
## Requirements
Python 3.5+ and asyncio, jinja2, pytest.If you want to run the server behind a proxy (locally works fine), it must support websockets.
## Usage
$ python3 realtimechess.py run
Then tell all players to go to http://<your ip>:8080/## Testing
$ python3 -m pytestTo run the integration test of Chrome + server with Selenium:
$ python3 browser_test.py
## Contributions
Contributions are welcome!