cordova

I’ve created a small demo Cordova application for the browser and android here

https://github.com/bernardjason/cordovatictactoe

you can play from your browser with this link.

cordova browser

 

To try out the android version

git clone https://github.com/bernardjason/cordovatictactoe.git

cordova platform add browser --save

cordova platform add android --save

cordova plugin add cordova-plugin-camera

cordova plugin add cordova-plugin-dialogs

cordova plugin add cordova-plugin-splashscreen

cordova plugin add cordova-plugin-backbutton

cordova plugin save cordova platform save

 

then to run browser version locally

cordova serve browser

or to deploy to android

cordova run android

to get the splash screen and logo into android build run

./copy.sh

I cannot get Cordova to pick this up from config.xml so this copy script places them in the correct directory for an android build.