/powderday

Snowboarding canvas game written in TypeScript with React and Redux running on top of Phonegap

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

Powder Day

Snowboarding canvas game written in TypeScript with React and Redux running on top of Phonegap.

Gain score by going through the forest on a powder day. Use device accelerometer to change player's movement direction.

Quick Start

Install powderday in production mode:

git clone https://github.com/frolovilya/powderday.git
npm install --production
npm run init-phonegap-app
npm run start-phonegap-server

Install Phonegap Mobile app on your device: http://docs.phonegap.com/getting-started/2-install-mobile-app/

Development

Install all dependencies:

git checkout https://github.com/frolovilya/powderday.git
npm install

Packages structure

Package Description
src/main/typescript/scene Contains common code to build a canvas game: scene, layers, objects manipulations.
src/main/typescript/device Wrappers around Phonegap device API.
src/main/typescript/app Game code: screens, controllers, scene.

Screenshots

Screenshot 1 Screenshot 2