Touch Event Horizon

This article is for Touch Event Horizon and A Game Related To It

Touch Gestures and Events

The example game

Setting up the canvas

Counting the taps

touchstart, touchend

Collecting the bonus


Future developments


This tutorial shows how to use Touch Events to create a game on a <canvas>. This is a multiplayer game relying on the Tap and Drag gestures.