Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implementation of questions for round1 #4

Open
1995YogeshSharma opened this issue Apr 3, 2016 · 3 comments
Open

implementation of questions for round1 #4

1995YogeshSharma opened this issue Apr 3, 2016 · 3 comments

Comments

@1995YogeshSharma
Copy link
Member

*There are two ways for implementing the question *

  1. We can make a general template and load the questions from database based on the question number. There will be a bool field in database which can be used to select either to show questions or not.
    template will be like : question -> img -> option -> answer
  2. We can make questions in google presentations and then load them in an iframe. This way question won't have to do anything with the database.

So, Which approach should be follow.

@meghprkh
Copy link

meghprkh commented Apr 4, 2016

My approach:

The questions are numbered sequentially and files 1.md, 2.md , ... exist. There is a rout /slide which always shows the current slide and automatically refreshes. This would support markdown and mathjax. This would be shown as an iframe

When the admin clicks correct answer the question number is automattically increased by 1 and next slide automatically loads.

@polybuildr
Copy link

I also suggest you take a look at reveal.js for the presentation part if you are planning to integrate it with some database backend of your own. (github: https://github.com/hakimel/reveal.js/, demo: http://lab.hakim.se/reveal-js/#/). Please don't implement your own "presentation" component.

@meghprkh
Copy link

meghprkh commented Apr 7, 2016

The problem is that at ome time only one slide needs to be shown, which is what the admin is showing. The user(public view/buzzer view) shouldnot have the need to press next. RevealJs would be helpful for laying out the slides in a proper manner and having animations and stuff. As far as my backend is considered it just gives the frontend the current question and its the work of the frontend to render it. So the frontend can use revealjs for rendering just the current slide or append the cureent slide to the slideshow and automatically forward the slide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants