Gymnasium Lunar Lander environment: a spacecraft descending toward a landing pad

Lunar Lander

A reinforcement learning experiment using Gymnasium's Lunar Lander environment, PyTorch, and Deep Q-Learning. Work in progress.

  • Python
  • PyTorch
  • Reinforcement learning
View code
Gymnasium CartPole environment: a cart balancing a pole

CartPole Policy Gradient

A PyTorch implementation of REINFORCE that learns to balance Gymnasium's CartPole-v1 from scratch, with training, playback, and GIF recording.

  • Python
  • PyTorch
  • REINFORCE
View code
ViZDoom basic scenario: a first-person view from the game Doom

PPO Doom Agent

A PPO agent implemented from scratch in PyTorch that learns to play Doom from pixels through ViZDoom, with GAE, checkpointing, evaluation, and a desktop GUI.

  • Python
  • PyTorch
  • ViZDoom
  • PPO
View code