Snake in BASIC
AmazingMech2418 (941)

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
Roar123 (436)

This is really smooth! Because the text is kind of buggy, why don't you have a click anywhere to start instead.

AmazingMech2418 (941)

@Roar123 Thank you! I honestly don't know though. I could do that, but I kind of wanted a play button to start.

Roar123 (436)

@AmazingMech2418 Sure but you've pointed out the clicking on the text doesn't work and it took me a minute of clicking to finally start the game. So if you could could make it less buggy that would be great!

AmazingMech2418 (941)

@Roar123 Yeah. Unfortunately, it is a Repl.it bug though, so I guess I could do a key to start or click anywhere to start, but that's still not exactly what I want for this repl. However, I could do something like that in the Pong repl I'm creating now.

Roar123 (436)

@AmazingMech2418 Ok I get it, but you should probably allow people the option to press enter or another key to start