GithubHelp home page GithubHelp logo

terrytini / chess-misc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rahular/chess-misc

0.0 1.0 0.0 10.33 MB

Misc tools for rStock

License: GNU General Public License v2.0

BlitzBasic 6.79% Java 25.32% CSS 0.22% HTML 12.65% JavaScript 7.53% Python 7.67% Makefile 0.65% M4 10.66% C 12.05% MATLAB 0.14% C++ 16.33%

chess-misc's Introduction

Chess Misc

position_eval.py

This is a command line tool for quickly evaluating a position in chess. Here are the basics you need to know to get started :

  • Input : Any FEN string(s) or a file containing FENs
>> python position_eval.py <fen1> [<fen2>...<fenN>]
OR
>> python position_eval.py file <filename>
(Note : filename must have the extension .fen)
  • Output : Current evaluation score and the best move. The FEN(s) along with the evaluation score is also written to a file called game_moves.log

plotter.py

You can also plot evaluation score vs number of moves using

>> python plotter.py

This will take data from game_moves.log

make_dataset.py

This file takes in a puzzle file in PGN format which contains Mate in 4+ puzzles, parses out the FEN strings, finds the optimal move sequence for mate and prints it to stdout and a file named dataset

JavaStockfish

A thin client for Stockfish. Comes in handy when we need to use Stockfish along with the object oriented goodness of Java. See Javadoc for detailed explanation. The functions currently implemented are :

  • Start the engine
  • Stop the engine
  • Get list of valid moves
  • Get best move
  • Send UCI commands to engine
  • Get raw dump from engine
  • Pretty print the board state
  • Get evaluation score

ChessVision

A simple tool which uses the amazing wkhtml* library to convert chess positions in FEN to either static HTML or PNG images. (Active development going on. More to come)

BitBoardGen

A basic module which converts FEN strings to Bit Boards. As of now, 12 Bit Boards are being created, one for each piece type.

chess-misc's People

Contributors

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