Background
Before the advent of HTML5, games were developed using Adobe Flash. The two major problems with Flash were that (1) the Flash format was proprietary and (2) not all browsers, most notably iOS, supported Flash. Among other advances, HTML5 introduced the canvas element, which allowed arbitrary drawing of shapes and bitmap images. These formed the basis for the development of games using HTML5.
Click to enlarge
Lottery
For one of our clients, we have integrated an off-the-shelf, third-party lottery game. The game is configurable, allowing it to be used for multiple clients. In the demo that follows, one can:
Select a client
Select a number of points to win
Specify whether the game should produce a winner
After specifying the configuration, a game will be generated that is skinned according to the selected client.