https://github.com/tb/js-bdd-tictactoe
javascript grunt/jasmine bdd tictactoe
https://github.com/tb/js-bdd-tictactoe
Last synced: over 1 year ago
JSON representation
javascript grunt/jasmine bdd tictactoe
- Host: GitHub
- URL: https://github.com/tb/js-bdd-tictactoe
- Owner: tb
- License: mit
- Created: 2012-12-05T10:01:02.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-04-16T13:29:09.000Z (about 13 years ago)
- Last Synced: 2025-02-09T17:17:55.479Z (over 1 year ago)
- Language: JavaScript
- Size: 271 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# TicTacToe
The best JavaScript BDD TicTacToe ever.
## Getting Started
Install [PhantomJS](http://phantomjs.org)
For 32-bit Linux system:
```
wget http://phantomjs.googlecode.com/files/phantomjs-1.7.0-linux-i686.tar.bz2
tar -jxvf phantomjs-1.7.0-linux-i686.tar.bz2
sudo cp phantomjs-1.7.0-linux-i686/bin/phantomjs /usr/bin/
rm -rf phantomjs-1.7.0-linux-i686*
```
Install [grunt](http://phantomjs.org)
```
sudo su
apt-get install npm
npm install -g grunt
```
Install [grunt-jasmine-runner](http://github.com/jasmine-contrib/grunt-jasmine-runner)
```
cd js-bdd-tictactoe
npm install grunt-jasmine-runner
```
It may be neccessary to make a simlink in Ubuntu
```
sudo ln -s /usr/bin/nodejs /usr/local/bin/node
```
Run tests
```
grunt
```