Git Product home page Git Product logo

ialexmp / ai-pacman-projects Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 22 KB

Explore foundational AI concepts through the Pac-Man projects, designed for UC Berkeley's CS 188 course. Implement search algorithms, multi-agent strategies, and reinforcement learning techniques in Python, emphasizing real-world applications. Engage in the Eutopia Pac-Man contest for a multiplayer capture-the-flag challenge

Python 100.00%
ai-projects cs188 gameai multiagent pacman pacman-agent pacman-game pacman-projects pythonai reinforcementlearning

ai-pacman-projects's Introduction

AI-Pac-Man-Projects

Overview

The Pac-Man projects were developed for University of California, Berkeley (CS 188). They apply an array of AI techniques to playing Pac-Man. However, these projects don’t focus on building AI for video games. Instead, they teach foundational AI concepts, such as informed state-space search, probabilistic inference, and reinforcement learning. These concepts underly real-world application areas such as natural language processing, computer vision, and robotics.

We designed these projects with three goals in mind. The projects allow you to visualize the results of the techniques you implement. They also contain code examples and clear directions, but do not force you to wade through undue amounts of scaffolding. Finally, Pac-Man provides a challenging problem environment that demands creative solutions; real-world AI problems are challenging, and Pac-Man is too.

Projects Overview

P1: Pacman Search

Students implement depth-first, breadth-first, uniform cost, and A* search algorithms. These algorithms are used to solve navigation and traveling salesman problems in the Pacman world.

P2: Multi-Agent Search

Classic Pacman is modeled as both an adversarial and a stochastic search problem. Students implement multiagent minimax and expectimax algorithms, as well as designing evaluation functions.

P3: Reinforcement Learning

Students implement model-based and model-free reinforcement learning algorithms, applied to the AIMA textbook’s Gridworld, Pacman, and a simulated crawling robot.

Final Lab Project: Pacman Contest

The Eutopia Pacman contest is an activity consisting of a multiplayer capture-the-flag variant of Pacman, where agents control both Pacman and ghosts in coordinated team-based strategies. Students from different EUTOPIA universities compete with each other through their programmed agents. Currently both University of Ljubljana and Universitat Pompeu Fabra (UPF) are participating organizations. UPF is also the tournament organizer, which hosts and run the tournaments in the HDTIC cluster1 . The project is based on the material from the CS188 course Introduction to Artificial Intelligence at Berkeley2 , which was extended for the AI course in 2017 by lecturer Prof. Sebastian Sardina at the Royal Melbourne Institute of Technology (RMIT University) and Dr. Nir Lipovetzky at University of Melbourne (UoM)3 . UPF has refactored the RMIT and UoM code. All the source code is written in Python.

Technical Notes

The Pac-Man projects are written in pure Python 3.6 and do not depend on any packages external to a standard Python distribution.


More info: https://inst.eecs.berkeley.edu/~cs188/su21/projects/

ai-pacman-projects's People

Contributors

ialexmp avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.