implementation of chess using the wonderful language scala
scala-chess / scala-chess-core Goto Github PK
View Code? Open in Web Editor NEWimplementation of chess using the wonderful language scala
implementation of chess using the wonderful language scala
Rules:
From wikipedia:
When a pawn advances two squares from its starting position and there is an opponent's pawn on an adjacent file next to its destination square, then the opponent's pawn can capture it en passant (in passing), and move to the square the pawn passed over. However, this can only be done on the very next move, otherwise the right to do so is forfeit. For example, if the black pawn has just advanced two squares from g7 (initial starting position) to g5, then the white pawn on f5 may take it via en passant on g6 (but only on White's next move).
Refactor Logic to Traits
Hallo,
zwei populäre Protokolle , unter denen nahezu 1000 Schachprogramme laufen, sind:
WinBoard/XBoard (CECP) http://home.hccnet.nl/h.g.muller/engine-intf.html - http://home.hccnet.nl/h.g.muller/engine-intf.html
UCI http://www.shredderchess.de/download.html
Werden diese Schnittstellen auch von der ScalaChess Engine verwendet?
Gibt es einen Zusammenhang mit der graphischen Benutzeroberfläche https://github.com/scalachessgui/scalachessgui bzw, https://github.com/exoticorn/scalachess/ ?
Refactor Actions to Atomic Actions and Executable Actions
A Pawn can only move 2 squares forward if the square moved over is not occupied.
If a move results in a check it is not allowed
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.