this is a WIP/proof of concept for adding "minigames" to minetest. it adds a node (it looks like a chest atm) that lets you play tetris.
this mod is a crude translation of an old program i wrote in javascript, so its probably not the best code out there and many things do not work
yet. patches very welcome, also nodebox model and texture for tetris machine and buttons.

https://github.com/obneq/tetris/archive/master.zip