Snake in BASIC
Here is a game of Snake in BASIC! This is my first BASIC program (well, outside of my calculator at least with TI-BASIC and excluding Visual Basic (VB6 was my first programming language)). For maximum quality, I'd recommend positioning everything in the repl embedding so all you see is the BASIC graphics section. Unfortunately, BASIC does not yet support text with size relative to the size of the BASIC graphics section. @amasad , maybe something you could add? Also, maybe add a mouse position reading system for when it is not clicked as well? I think it would be great if I could change the color of the play button on hover. Also, currently, text displayed appears to block the click events for some reason, so try clicking just outside of the text in the play button to start. I hope you enjoy!
This is really smooth! Because the text is kind of buggy, why don't you have a click anywhere to start instead.
@iterate I think it has to do with the layering in the rendering of the BASIC graphics. I think that since the text is on top of the grid system, if the click event is based on the grid system instead of the window, it will not register. However, I'm not completely sure and hopefully, @amasad can fix it soon.
You use Ti-Basic too!? I used to use TI-baisc until I learned a more advanced language.
![Screenshot 2020-04-27 at 9.27.29 PM(https://storage.googleapis.com/replit/images/1588037269489_39f7b0c353ffb4083cc13fe3acd7e9af.png)
that's kinda weird