Short game (tetris) in my survey - how?! | XM Community
Skip to main content

Hi, I want to have a short 5 minutes in between the questions in my survey where participants are playing tetris and can't click out/through to the next page. I have a .swf file (Tetris game) from a while ago, but converting it to html5 is not as easy as I hoped (is html5 even what I need for this? help!). I know very little about code, so if anyone can help me with this, that would be great!
Any other versions/options for tetris are welcome.
What should I (not) be looking for? Is what I want to do even possible?

Try this:
Question HTML:


none
Add the css either in the style tags here or in your header.
Question JS:
jQuery.getScript("https://cdn.jsdelivr.net/npm/blockrain@0.2.0/dist/blockrain.jquery.min.js");
jQuery('.game').blockrain();

Themes and styling related stuff here.


wow - back in college I could play tetris for hours on my Apple Macintosh. Would there be away to extend those 5 minutes to several hours?


Leave a Reply