Posts

Showing posts from September, 2024

Jumping Paws - A JavaScript Web Game

Image
      Jumping Paws is a project that I have been working on for a few weeks now. It's a game about a little yellow cat running along a moving video game landscape. The cat has to jump over a series of brightly colored yarn balls to continue his run. If he crashes into one of the balls, it's game over. The longer the cat runs, the more points the player gets. As of 7/23/24, the code is broken down to 9.5% HTML, 13.6% CSS, and 77.2% JavaScript. Those percentages will probably change as I continue to improve the code. I built a basic version of the Google Chrome dinosaur game from a YouTube tutorial and used the same code setup for this game, with added customizations. Some of the changes that I made were adding a background image and increasing the canvas board's overall size. I also changed the characters and added a reset feature for game over.       I read an article on how to make an infinite loop for a CSS background image. I will include the link b...