Skip to content

Solving MsPacman game using Deep Q-learning algorithm

Notifications You must be signed in to change notification settings

andri27-ts/PacMan-RL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

PacManRL

This repository contains an implementation of a Deep Q-learning algorithm (DQN) used to solve MsPacman game using the Gym environment.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

In order to run the notebook you need to install tensorflow and gym (included the atari games).

$ pip install tensorflow
$ pip install 'gym[all]'

Installing

Next, install git if you don't have already it and run the following commands on your terminal

$ cd $HOME  # or any other development directory you prefer
$ git clone https://github.com/andri27-ts/PacManRL.git
$ cd PacManRL

Tensorboard

To visualize the loss function and the histograms of the NN layers using Tensorboard, run on your terminal

$ cd $HOME  # or any other development directory you prefer
$ cd PacManRL
$ tensorboard --logdir tf_logs/