hacking
iRcotofun: an R package to create jeopardy-like browser quiz games
here's an idea for your next office party: this R1 package creates a one-file jeopardy-like quiz game in HTML. you must come up with the questions and answers yourself, of course.
the most recent develpment version of iRcotofun can be installed from my own package repository https://reaktanz.de/R
, e.g. directly from an R session:
install.packages("iRcotofun", repo=c(getOption("repos"), reaktanz="https://reaktanz.de/R"))
- download: iRcotofun_0.02-1.tar.gz (16.12.2015, 64,9 kb)
- source code: https://github.com/unDocUMeantIt/iRcotofun
- debian/ubuntu package (depends on recent R packages from CRAN)
- NEWS/ChangeLog
- license: GPL >= 32
- documentation: iRcotofun.pdf
features
- puts everything in one single HTML file (including images and sound)
- supports plain text, images, and HTML to be used as questions and answers
- add an intro page with huge logo and music, if you really want to show off
- supports background sound when items are shown
- variable number of categories/items
- pretty good scalable
- random team selector
- remove a team from an item after a wrong answer (and reduce their points)
- team names
- re-enable past items
the process of creating a quiz game with iRcotofun is pretty straight forward: define question/answer pairs (items) with ask()
, combine items into categories with category()
, and finally combine categories into a quiz with the ircotofun()
function. have a look at the examples in the manual (especialy the section about ircotofun()
).
a token of gratitude
if you appreciate my work an want to say "thanks", please check my wantlist on discogs3 (just have records sent to the address you find in the imprint/impressum). you're awesome!