HTML5-based Snake game AI.