Simple snake game both in Python / pygame and Javascript / canvas there is also a "bot" that plays itself Python : Javascript :