Skip to content

madebypixel02/Machine-Learning-Pacman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Machine Learning Pacman | uc3m

The Classic ghost-eating game 👾

Report

Introduction

This project introduces us to new notions on Machine Learning. I developed this project with @chriss1245.

Installation

Dependencies:

jre-openjdk python python-pip git

Clone the repo:

git clone https://github.com/madebypixel02/Machine-Learning-Pacman.git
cd Machine-Learning-Pacman

Install the required python libraries:

JAVA_HOME=/usr/lib/jvm/default pip install -r requirements.txt

Test our machine learning algorithm

python busters.py -p QLearningAgent -l openClassic -t 0.1 -g RandomGhost

Note: -l specifies map to try (from layouts folder), -g RandomGhost specifies that ghosts will move at random instead of staying still.

Gameplay

Summary

May 4th, 2021