Skip to content

This repository contains games that have been developed from scratch with the goal of letting Deep Reinforcement Learning agents playing them.

License

Notifications You must be signed in to change notification settings

amjadmajid/deep-reinforcement-learning-games-from-scratch

Repository files navigation

Deep Reinforcement Learning: Building Games from Scratch

Author: Amjad Yousef Majid
Contact: amjad.y.majid@gmail.com


This repository houses a collection of games that are created from the ground up to train Deep Reinforcement Learning (DRL) agents. These games, programmed in Python and Pygame, provide an enriching environment for DRL agents to learn and develop. The DRL agents themselves are built utilizing Pytorch.

To highlight the standalone nature of this project, no Gym or Gymnasium libraries have been employed.

Classic Reinforcement Learning Scenarios

Explore the world of traditional reinforcement learning through various scenarios. The objective in each case is to navigate a grid world to reach a specified destination using different algorithms:

  1. Value Iteration algorithm
  2. SARSA algorithm
  3. Q-learning algorithm

Deep Reinforcement Learning Scenarios

Delve deeper into more complex scenarios where DRL agents tackle challenging tasks, from navigating mazes to mastering the game of Snake:

  1. Navigating a grid world using DQN
  2. Navigate a Maze using Policy Gradient REINFORCE algorithm
  3. Playing Snake using DQN with a linear neural network (FNN)
  4. Playing Snake with DQN (or DDQN) with convolution neural networks (CNNs)

This project provides a powerful platform for those seeking to understand the inner workings of reinforcement learning and its advanced derivative - deep reinforcement learning. It showcases the potential of these AI techniques by employing them in engaging and relatable game scenarios.

About

This repository contains games that have been developed from scratch with the goal of letting Deep Reinforcement Learning agents playing them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages