rsg-group / chess Goto Github PK
View Code? Open in Web Editor NEWCool chess game
Home Page: https://rsg-chess.now.sh/
License: Apache License 2.0
Cool chess game
Home Page: https://rsg-chess.now.sh/
License: Apache License 2.0
Check out this log to reproduce the problem:
https://pastebin.com/VHgF51VW
UPDATE:
How to reproduce:
var fromArray=[{x:1,y:7},{x:7,y:1},{x:5,y:6},{x:7,y:3},{x:2,y:5},{x:7,y:4},{x:4,y:4},{x:7,y:5},{x:5,y:7},{x:7,y:0},{x:7,y:7},{x:6,y:1},{x:5,y:6},{x:6,y:3},{x:5,y:5},{x:5,y:1},{x:6,y:4},{x:4,y:1},{x:4,y:4},{x:3,y:0},{x:3,y:6},{x:6,y:3},{x:3,y:7},{x:4,y:3},{x:4,y:6},{x:3,y:4},{x:4,y:7},{x:3,y:1},{x:4,y:6},{x:2,y:0},{x:4,y:5},{x:5,y:3},{x:3,y:4},{x:2,y:6},{x:3,y:3},{x:7,y:1},{x:4,y:3},{x:1,y:7},{x:0,y:7},{x:2,y:1},{x:1,y:6},{x:2,y:3},{x:1,y:5},{x:1,y:1},{x:2,y:4},{x:0,y:1},{x:1,y:3},{x:1,y:0},{x:0,y:6},{x:0,y:0},{x:2,y:7},{x:0,y:2}]
var toArray=[{x:2,y:5},{x:7,y:3},{x:5,y:5},{x:7,y:4},{x:4,y:4},{x:7,y:5},{x:5,y:6},{x:6,y:6},{x:6,y:6},{x:7,y:6},{x:7,y:6},{x:6,y:3},{x:4,y:4},{x:6,y:4},{x:6,y:4},{x:5,y:3},{x:5,y:3},{x:4,y:3},{x:6,y:3},{x:6,y:3},{x:3,y:4},{x:2,y:7},{x:2,y:7},{x:3,y:4},{x:4,y:5},{x:4,y:5},{x:4,y:6},{x:3,y:3},{x:4,y:5},{x:5,y:3},{x:3,y:4},{x:2,y:6},{x:3,y:3},{x:7,y:1},{x:4,y:3},{x:1,y:7},{x:5,y:4},{x:0,y:6},{x:0,y:6},{x:2,y:3},{x:1,y:5},{x:2,y:4},{x:2,y:4},{x:1,y:3},{x:1,y:3},{x:0,y:3},{x:0,y:2},{x:0,y:2},{x:0,y:2},{x:0,y:2},{x:2,y:4},{x:0,y:0}]
fromArray.map((ev,i)=>{this.moveSelected(this.board[ev.y][ev.x],toArray[i],()=>{},()=>{},!1,!1,!1)})
Qc6
Add the Fifty move rule
Add the threefold repetition rule to the game.
The algorithm in the new AI is powerful, but if you run it with depth bigger than 3, the UI will freeze for seconds and the mobile version will even crash.
At the moment we're using WebViews from PhoneGap and Electron to make RSG Chess multi-platform, so the problem can be fixed on all platforms using Web Workers. Docs and tutorials can be find on MDN and some really helpful blog posts.
Add FEN notation support.
This feature will be helpful:
Needed fields:
Additional to-dos:
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.