A simple mobile Go (wei-qi) client app written in JavaScript using phonegap.
To run the test do this from the project root directory:
./gulp test
To watch for files changes and automatically run the tests do thi:
./gulp watch
- Phonegap
- Angular and Phonegap
- Quick start guide to phonegap and AngularJS
- How to test your JS and use it in a browser
- Android SDK
- Phonegap/Cordova Command Line Interface (CLI)
- Yeoman - scaffolding for webapps, only used to create initial angularjs app structure in goclient/app
- Installed yeoman 'npm install -g yo'
- Installed yeoman angularjs generator 'npm install -g generator-angular'
- Entered app directory ('goclient/angular' in this case) and created an angular app with 'yo angular'
- Installed Compass from within app directory with 'gem update --system && gem install compass'
- Gulp
- Make a basic phonegap app, include ngMobile module from angular-mobile.js to remove click delays.
- Add an empty 19x19 board which can be clicked to add stones until full
- Click an occupied point removes the stone
- On mobile initial click zooms to a 7x7 segment, second click selects point to place stone
- Add minimal KGS client capability
- Use Gulp as a top-level build system
- tasks:
- 'test':'run jasmine tests'
- 'lint':'run jshint on js files'
- 'build':'cd goclient ; phonegap build android'
- 'install':'cd goclient ; phonegap install android'
- tasks: