make lib for SnakeGame