Skip to content

In Real-time Chess (or Kung-Fu Chess, Ninja Chess), all pieces can be moved simultaneously!

License

Notifications You must be signed in to change notification settings

PetterS/realtimechess

Repository files navigation

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, 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.

Screenshot

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 pytest

To run the integration test of Chrome + server with Selenium:

    $ python3 browser_test.py

Contributions

Contributions are welcome!

About

In Real-time Chess (or Kung-Fu Chess, Ninja Chess), all pieces can be moved simultaneously!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published