top of page

HTML Game - (Version 1.1)

Here is a revised version of my HTML game.

What's New in Version 1.1.

  • I have added game controllers to allow the user to move the red square "up, down, left, or right)

  • In every frame, I have updated the obstacle component, allowing the game to end.

  • Last, I added some code in the updateGameArea function that writes the score onto the canvas. I use the frameNo property to count the score. The score will count one point for each frame you manage to "stay alive"

Thanks for playing! More advanced updates will be coming soon!


bottom of page