Friday, August 6, 2021

A tennis game is an easy video game project for beginners

When I was looking into video game development and programming, one of the many projects for beginners is the simple tennis game. The tennis game teaches the basic core principles of video game AI and video game theory.

Below is the simple tennis game I made following Chris DeLeon's guide at Udemy. And I made some slight modifications to it though there may be bugs. Although this specific game was made in JavaScript with HTML5, the basic logic is applicable in different programming languages.

The player wins if they get 3 points. The difficulty increases once you reach 2 points as if the AI is suddenly motivated to win. Click the box below to try it out yourself. Right now, it only works on PCs.


No comments:

Post a Comment

Featured post

Making time is a privilege

I consider myself lucky to be able to write today. Most other days, I worry about producing enough money to... well do about anything other ...