daveswartz / mateinone Goto Github PK
View Code? Open in Web Editor NEWChess library entirely written in Scala.
License: Mozilla Public License 2.0
Chess library entirely written in Scala.
License: Mozilla Public License 2.0
Pawns are not promoted when they reach the 8th rank by capturing.
Requires completed documentation.
Write a guided tour of the mateinone source when capture and checking are complete.
Example: https://gist.github.com/daveswartz/d0bb8acfc50c78256f30 at black's 18th move.
Black moves the King to b8 at which point there are no possible moves after white moves the Queen to b7. The computer v. computer game logic evaluates board states after valid moves so will never score the result of the King being captured.
The board now outputs Github Flavored Markdown tables. The aim of this work is to support multiple input/output formats for the board.
https://gist.github.com/daveswartz/8583d374e94b1a6eefae
Bug on black's move 37 (note the castle).
Example https://gist.github.com/daveswartz/0528f04eff5a54284932
Add tests to verify all cases from http://www.e4ec.org/immr.html
Hi Dave
Great library!! I have been wanting to run some experiments with multi move variants of chess. mateInOne seems particularly well suited for my purposes, but of course I would like to add support for these variants such as "2-chess". What do you think?
(sorry if this is not the right place for this note but i dont see alternative..)
cheers
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.