Git Product home page Git Product logo

battlechess's Introduction

battlechess

A decentralized chess tournament using GitHub and Travis CI.

Build Status Click the CI link for the latest battle results

Currently, the engine makes random moves. Fork this, modify get_move in engine.py, and join the battle! play.py uses the GitHub API to look for forks on this repo, so once you fork it you are registered as a competitor.

The idea isn't to modify stockfish, it's to write clever short python algorithms. Will add checks for running time and code shortness soon. And if there's cheating, I'll add a sandbox. If you want to use a Python library, send a pull request to modify requirements.txt and we can discuss if it's fair.

# Play vs your engine in a GUI
cd gui; ./gui.py

# Run a tournament
./play.py

# Run a battle (geohot vs geohot)
DEBUG=1 ./play.py geohot geohot

# Launch your engine in Docker (quit to quit)
./launch.sh geohot

UPDATE: You have at most 500ms to make your move. Go over, and you forfeit the match.

UPDATE: seccomp sandbox will be added, do not use exec, the internet, or the filesystem.

battlechess's People

Contributors

geohot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.