"This Week’s Challenge is to create an obstacle avoidance game! This means that you need to create a game in which the player must navigate a scene without hitting one or a few obstacles (objects)."
https://www.youtube.com/watch?v=NAUk1rGMWxg https://www.youtube.com/watch?v=TvnYmWpD_T8 I tried to make my code simple, and commented, but I'll explain a brief overview anyways. We have two sprites. The cat, and the raindrop. The cat manages movement, and gameOver. Pretty simple stuff. The raindrop may look complicated, but it's really not. The original raindrop is hidden somewhere. Think about like an evil mastermind raindrop! The evil mastermind makes lots of clones! When a clone is spawned, it goes to a random position at the top of the screen. It then falls downwards. I added a "fall multiplier", which just means after a short time, it falls faster. If the clone touches the cat, we subtract one life. If the cat avoids the raindrop, and it hits the floor, we add one to the score.