This is a pure-JavaScript implementation of the popular 1010 from Gram Games. It uses the UsefulJS Event module along with the DnD and Skin extensions. It works with both mouse / trackpad and touchscreen.