Skip to content

CodeGeek04/Air-Hockey-Reinforcement-Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Air Hockey🏑 Reinforcement Learning:robot:

This is a classic air hockey game built using PyGame, where two AI agents compete through Reinforcement Learning powered by PyTorch. Experience the excitement of virtual air hockey, customize hyperparameters like learning rates and rewards, and track AI progress with training analytics. Easy to set up, this repository offers a glimpse of AI-driven air hockey battles. I have built another repo as well where an agent plays Atari Breakout game..Do check that out too 😁😁

Table of Contents

Installation

  1. Clone this repository: https://github.com/CodeGeek04/Air-Hockey-Reinforcement-Learning

  2. Navigate to the repository: cd air-hockey-reinforcement-learning

  3. Install the required packages: pip install requirements.txt

Usage

  1. Run the game: python air_hockey.py

  2. Wait for a few epochs to see change in performance of agents. Tune hyperparameters according to usage

About

A game of air hockey played by two AI Agents which compete against each other, and keep improving themselves.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages