top of page
Search
  • Writer's picturejunfeng shao

Final Project

My final project is a ball game. In the game, there are two ball on the screen. One ball is stationary, the other ball is moving. You can use the keyboard to control the stationary ball to make it move. The goal of the game is to catch the moving ball by moving your ball. Every time you catch a ball, your score will improve and a new ball will be refreshed. I set up a health system for the game. You have 50 points of health at the start of the game, every time you move your ball,the point of health will reduce by one. But every time you catch a ball, it will returns five points of health. The game ends when the health reaches zero, so keep an eye on your heath. I also used some code to make the game harder. When your score reaches 20 and 40, the moving ball gets faster and smaller, this will make it harder for you to catch it.

5 views0 comments

Recent Posts

See All
bottom of page