Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.