Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cironunes/ngchess


https://github.com/cironunes/ngchess

Last synced: 8 days ago
JSON representation

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 install

grunt 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.