Git Product home page Git Product logo

uci-gui's Introduction

Web based GUI for UCI chess engine

A simple web based GUI to play versus my engine BBC. You can replace BBC with whatever UCI chess engine and get the same result!

PLAY ONLINE

IMAGE ALT TEXT HERE

Features

  • online play
  • opening book in text format (from TSCP chess engine)
  • flip board
  • force computer move
  • fixed time mode
  • fixed depth mode
  • set FEN
  • download PGN

Used packages

  • Flask (minimalist WEB framework)
  • python-chess (chess library to communicate with engine over UCI protocol)
  • chessboardjs (chess board widget)
  • chessjs (chess library to keep track of the game state in the UI)

How to run it locally

  • install Python 3.6 or higher
  • install flask via "pip install flask"
  • install python chess via "pip install python-chess"
  • clone repo, cd into /src and run command "python app.py"
  • open browser, navigate to "localhost:5000"

YouTube tutorials

IMAGE ALT TEXT HERE

uci-gui's People

Contributors

maksimkorzh avatar

Stargazers

Labinator avatar  avatar  avatar  avatar Andrew Gvozdev avatar Aleksandar Puharic avatar  avatar anonymous avatar Richard Baltrusch avatar Fabrizio Milo avatar Lucas Oliveri avatar Gustav LD avatar  avatar léon h avatar Isnu Suntoro avatar Mark John Balcueva avatar Arsalan Sefidgar avatar David Meybohm avatar Paolo Basso avatar Majid Amin avatar  avatar Nikheel avatar Matt Kelly avatar Manuel Herzog avatar Lukasz Pojezierski avatar  avatar

Watchers

James Cloos avatar Gustav LD avatar Arsalan Sefidgar avatar Protej avatar

uci-gui's Issues

License

Hey this works great, I am using it to show off my engine. Was wondering if you could add a license and if you intend on it being open source?

Score eval

Hi,
This line, I think it doesn't work at all!

I change it a little bit
so... I hope its give you better solution.

import re
row_score = str(info['score'])
temp = re.findall(r'\d+', row_score)
score = int(temp[0]) / 100
score *= -1 if 'BLACK' in row_score else 1

score = -int(str(info['score'])) / 100

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.