Teaching AI to Play Tennis
CSEF · 2023 Mathematical Sciences Honorable_mention Award
Overview
Artificial intelligence will be the next great leap for mankind, and it will influence all of our lives. My objective was to create an artificial intelligence neural network that is capable of learning to play the sport Tennis through deep reinforcement learning. First a tennis game environment in Unity was created. Using an artificial intelligence neural network, agents would train against a hard coded program, as well as against themselves through Self-Play. The results of training were recorded, what went well, and what could be improved upon. After implementing the improvements, the process was repeated. Some hyperparameters would purposefully be changed to see how the agents reacted and how the overall end product would be affected. In the end, the neural networks that performed the best were the ones that trained the longest. An interesting result that was observed was that you could bias the agent to do certain things more often by giving it different rewards for doing certain actions. For example, you could bias the agent to always hit down the line if you gave it a reward every time it did so. The agents could play against each other reasonably well, with a few mistakes here and there. It would be interesting to see this idea implemented into virtual reality so that athletes could practice their technique against different types of agents, like one that never misses, or one that always hits flat, aggressive shots.
Source coverage
This record comes from a published award list, not a complete project archive. Its abstract comes from CSEF's public project showcase as archived by the Internet Archive before judging (https://web.archive.org/web/20230401224130/https://ca-csef.zfairs.com/showcase/ShowcaseInfo?f=838e60b7-ea75-46e8-865c-fde4864244b3); the version presented may differ.
Awards (1)
- Category Award: HM
Competition history
- CSEF 2023
Resources
Related projects
ISEF · 2014
Programming an Adaptive Artificial Intelligence Utilizing Neural Networks and the Monte Carlo Tree Search Method
CSEF · 2011
Unbeatable PONG through Artificial Intelligence
CSEF · 2003
Artificial Intelligence: Can a Neural Network Learn to Play Connect 4?
CSEF · 2012
Artificial Intelligence: Teaching a Computer to Play Tic-Tac-Toe
ISEF · 2019
KEVAN: Kevan the Efficient Videogame-Playing Artificially Intelligent Neural Network
JSHS · 2023
Training Neural Networks Using Reinforcement Learning: The Application of AI in the Twenty-First Century
CSEF · 2019
Creating a Neural Network to Play the Game of Connect Four Using a Genetic Algorithm
ISEF · 2019
The Next Artificial Intelligence Revolution: AI Making Decisions without Human Models or Knowledge of Rules to Create Completely Independent Solutions
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: California Science & Engineering Fair public projects