Add a vivid state machine sample case - snake game