Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cironunes/ngchess
https://github.com/cironunes/ngchess
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cironunes/ngchess
- Owner: cironunes
- Created: 2013-12-02T17:53:04.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-12-18T13:28:19.000Z (about 11 years ago)
- Last Synced: 2024-10-06T02:01:52.891Z (4 months ago)
- Language: JavaScript
- Size: 230 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## ngchess
### Sample AngularJS Chess game using Yeoman stack.
This app was built for fun.
# Installation
```sh
git clone git://github.com/cironunes/ngchess.git
cd ngchess
npm install && bower installgrunt serve
``````grunt serve``` will open the browser pointing to ```http://localhost:9000/```
# Idea
The main idea is use the power of Angular's data-binding to keep the UI synchronized with the data, directives to manipulate the DOM and a simple Pub/Sub to update the $scope only once. The chessboard is just an object with rows and cols, and pieces are strings following the FEN notation.