I think it would be great if we could play the game and test it out.
Do you have this deployed somewhere?
If not, that would be a good start.
Something like github pages would work.
Some of naming for files is a little unconventional.
For example, instead of javascript.js you could something more common like index.js or script.js.
In your css, I would suggest removing the import statement and using the google font link tag in your html instead.
There are a lot of discussions about imports in css and you can read about it here.
I think your code structure is pretty easy to follow.
You have all of your variables at the top, followed by your functions and then the eventlistener.
Typically for readmes, you would use a markdown file extension (.md) instead of a text file (.txt)
Also, since this is a game, I would suggest adding a link in the readme and possibly some screenshots from the game.
Lastly, I would start getting in the habit of writing more descriptive commit messages.
Right now you are just have one commit message and you are solely focused on personal projects.
But eventually you will be working on a team or open source environment and providing descriptive messages will provide good context on what you worked on.
May I also request some suggestions on my Javascript in general? For example, is there any unecessary and redundant lines of code that I can remove? Sorry for all the trouble!
I just wanted to chime in and say that I am pleasantly surprised that I was able to play this game using the keyboard only. To be honest, I was expecting a bunch of <div>s with a click handler attached for the bubbles and instead you are using <button>s, which automatically make it keyboard accessible. Great job!
Thank you! Honestly, I didn’t know that fact when I was working on my project.
I also needed a simple way to make sure that there is a way to turn off the buttons so that they cannot be clicked if the game ends. This is the main reason why I used buttons, because it has the disabled attributes.