Add SnakeGame class to index.