Ask coding questions

← Back to all posts
game
Anshulvairagade (4)

can we run a snake game code in python in repl.it

Comments
hotnewtop
spybrave (342)

YES(THE SHORTEST POSSIBLE ANSWER)

CaptainAnon (147)

I reckon you'll have a better time developing this with HTML5 and Javascript (yes, Javascript). Try: http://www.competa.com/blog/how-to-build-a-snake-game-using-javascript-and-html5-canvas/ (I haven't done this, so I don't know if it works).

Mooopy (65)

If you're able to code it, sure, it's possible. It would be difficult to code without anything like pygame though, but I'm sure there's a way