Snake in BASIC
h
AmazingMech2418 (693)

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!

You are viewing a single comment. View All
AmazingMech2418 (693)

@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.