Improved Version of the Pong Game Using RL TD3
Version 1.0.4 (2.04 MB) by
Ismael Abdulrahman
An improved version of the pong game.
This program uses the TD3 RL technique to train an agnet for the pong game.
It is the same as the original one developed by Johanna Pingel (a MATLAB staff and blogger) with the following changes:
1. Another state is added to the observation-state vector called q8 with the equation: q8 = abs(ball_x-paddle_x)
2. TD3 is used instead of DDPG
3. rng is added to use the same random noise at each time the agent is trained (for comparison)
Original code:
Cite As
Ismael Abdulrahman (2024). Improved Version of the Pong Game Using RL TD3 (https://www.mathworks.com/matlabcentral/fileexchange/101629-improved-version-of-the-pong-game-using-rl-td3), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2021b
Compatible with R2021a to R2021b
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.