https://github.com/adrigrillo/qlearningpacmanagent
A Q learning agent for Pac-Man that goes for the ghost
https://github.com/adrigrillo/qlearningpacmanagent
Last synced: about 1 year ago
JSON representation
A Q learning agent for Pac-Man that goes for the ghost
- Host: GitHub
- URL: https://github.com/adrigrillo/qlearningpacmanagent
- Owner: adrigrillo
- Created: 2016-11-17T10:33:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-11-17T10:34:04.000Z (over 9 years ago)
- Last Synced: 2025-02-10T11:13:35.799Z (over 1 year ago)
- Language: Python
- Size: 1020 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Un agente automático que se apoya en el Q learning para que PacMan se coma a los fantasmas.
python busters.py --help
Los principales argumentos que se pueden cambiar son:
* `\-n GAMES` Número de juegos. Por defecto es 1.
* `\-l LAYOUT FILE` El tablero del juego. Por defecto es oneHunt.
* `\-p TYPE` El tipo de agente Pac-Man. Por defecto es BustersKeyboardAgent (control por teclado).
* `\-g TYPE` El tipo de agente de fantasma. Por defecto es RandomGhost (se mueve aleatoriamente).
* `\-k NUMGHOSTS` El número máximo de fantasmas. El valor por defecto es 4. Todos los mapas predefinidos permiten de 1 hasta 4 fantasmas.
* `\-s` Dibuja los fantasmas en el mapa (solo para debug)