You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Am folosit un deque pt a retine coordonatele pt fiecare casuta din matricea ocupata de sarpe la un moment dat.Sarpele creste atunci cand mananca,iar mancarea desi apare random nu poate sa apara in zone interzise(peste '0' sau '*').Jocul se termina daca sarpele se loveste de pereti sau de el.