Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.
/ digdug-ia Public archive

Using Artificial Intelligence to solve digdug levels.

License

Notifications You must be signed in to change notification settings

PauloMaced0/digdug-ia

Repository files navigation

ia-digdug

DigDug clone for AI teaching

daaf97e8-bae6-4a07-a736-049e8344b09d.mp4

How to install

Make sure you are running Python 3.11.

$ pip install -r requirements.txt

Tip: you might want to create a virtualenv first

How to play

open 3 terminals:

$ python3 server.py

$ python3 viewer.py

$ python3 client.py

to play using the sample client make sure the client pygame hidden window has focus

As an alternative to the previous $ python3 client.py command, you can also try:

$ python3 student.py

This will run the autonomous agent to solve digdug levels

Keys

Directions: arrows

A: 'a' - pump enemies

Debug Installation

Make sure pygame is properly installed:

python -m pygame.examples.aliens

Tested on:

  • MacOS 13.6
  • Ubuntu 20.04

CREDITS

Huge thanks to Diogo Gomes for the digdug game template.

About

Using Artificial Intelligence to solve digdug levels.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages