ocamllabs / 2048-tutorial

OCaml tutorial based on the 2048 game
49 stars 12 forks source link

Fit board to mobile browser window and accept swipe input #23

Closed amirmc closed 9 years ago

amirmc commented 10 years ago

After visiting the link in #16 from my iOS device, I thought it would be cool to add support for swipe input and also fit the board to the browser window.

This obviously won't be ready for the actual tutorial but perhaps can be considered later — or maybe some hints provided for those keen enough to try and implement it.

dbuenzli commented 10 years ago

Useri doesn't support touch events (yet).

amirmc commented 9 years ago

Fixed in recent pushes by @dbuenzli (https://github.com/dbuenzli/useri/commit/09270c66317e570a10d945d2c65080b1ebf6bf23) and @lpw25 (https://github.com/ocamllabs/2048-tutorial/commit/ad2cbf44258dcbbf742d1b0952f12fd694c19804 and https://github.com/ocamllabs/2048-tutorial/commit/8e17b2cc0ce8c14f27461527270c773a9c97d5f0)