https://github.com/thomasjungblut/pacman
q learning pacman
https://github.com/thomasjungblut/pacman
Last synced: 13 days ago
JSON representation
q learning pacman
- Host: GitHub
- URL: https://github.com/thomasjungblut/pacman
- Owner: thomasjungblut
- License: apache-2.0
- Created: 2016-01-24T21:06:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-12-19T08:02:06.000Z (over 3 years ago)
- Last Synced: 2025-04-04T07:12:24.910Z (3 months ago)
- Language: Java
- Homepage: https://blog.thomasjungblut.com/
- Size: 191 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Pacman
======Simple 2D pacman in Java to test several AI things (search/planning/q-learning/machine learning).
Note that my maze generation is a bit exotic, so it doesn't look like a real pacman ;-)AI
--Pacman (or QLearningAgent) learns an optimal pacman game policy over dozens of games and time.
While the smartest ghost will chase Pacman 20% of his turn times by constantly computing the shortest path (using A-Star).Build
-----It requires my graph library which needs to be installed independently:
[tjungblut-graph](https://github.com/thomasjungblut/tjungblut-graph "Thomas' nifty graph lib")
Maven and Java8 to compile.
To compile, simply run
> mvn clean install package
This will create a runnable client under the target folder.
Video
-----[Youtube Video of Pacman QLearning](https://youtu.be/yEjf4vAJUjI "Youtube Video of Pacman QLearning")