mspwong / checkers Goto Github PK
View Code? Open in Web Editor NEWcheckers with rails
checkers with rails
This application validates a proposed move during a checker game. It handles only regular moves with the caveat that a piece may not moved into a square that is occupied by another piece of either color. The position of all pieces at any given time is persisted in the database. No performance tuning such as caching is attempted in this solution. The x and y coordinates are taken from the checkers board images shown here: http://www.jimloy.com/checkers/rules2.htm [1,1] denotes the bottom left square [8,1] denotes the bottom right square [8,1] denotes the top left square [8,8] denotes the top right square The starting board has following fixtures in the following positions: pieces(:white_1) in [1,1] pieces(:white_4) in [7,1] pieces(:white_12) in [7,3] pieces(:red_1) in [2,6] pieces(:red_4) in [8,6] pieces(:red_12) in [8,8]
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.