Skip to content

Instantly share code, notes, and snippets.

@atleastimtrying
Created September 4, 2014 10:44
Show Gist options
  • Save atleastimtrying/2d6bdade05958f11460c to your computer and use it in GitHub Desktop.
Save atleastimtrying/2d6bdade05958f11460c to your computer and use it in GitHub Desktop.
how to get a game up and running via events in quizall for logos
$(quizall).trigger('category_levels_choice',{
game: 'logos_questions',
callback: function(category, level){ console.log(category, level); }
});
$(quizall).trigger('get_content', {
game: "logos_questions",
level: "Level1",
category: "Animals",
amount: 1,
complete: function(game){
console.log(game);
}
})
$(quizall).trigger('get_logos', {
complete: function(data){console.log('data', data)},
answer_id: 1,
incorrect_amount: 7
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment