Improved Version of the Pong Game Using RL TD3

An improved version of the pong game.

You are now following this Submission

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 (2026). Improved Version of the Pong Game Using RL TD3 (https://se.mathworks.com/matlabcentral/fileexchange/101629-improved-version-of-the-pong-game-using-rl-td3), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2021a to R2021b

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.4

Fixing typos.

1.0.3

Minor change.

1.0.2

Minor change.

1.0.1

Minor change.

1.0.0