[snake] finish basic game