testing apache cordova by creating a game