Vudu is a simple finite state machine to be used in event driven applications or HTML5 games.