Giter Club home page Giter Club logo

pacmanai's Introduction

PacmanAI

[CA318] Advanced Algorithms and AI Assignment.
To build a world and simple mind for w2mind.computing.dcu

World is a pacman style world where pacman is controlled by the mind and everything else is controlled by the world, including the ghosts.

###Approach taken I used A* algorithim with manhatten distance as the heuristic.

#Wizard style PacMan

##Overview

Game is mainly traditional to original pacman. Paman is the broom. He is chased by 4 ghosts or in this game four snakes. The wizard has 3 lives. He loses a life evry time a snake catches him The wizard has to collect the dots which count 1 point towards the score Potions appear in the game, they are worth 12 points towards the score.

##State

State in this game is 2 dimensialal grid in which all elements are represented

Wall = 1 Edible dot = 0 Dot eaten = 2 Door / portal = 3 Potion = 4 wizard = 5 Snake 1 = 6 Snake 2 = 7 Snake 3 = 8 Snake 4 = 9

##Action

Action gets an action from the mind. For this word this is an int 6 -9

Move down = 6 Move up = 7 Move right = 8 Move left = 9

##Score Format

The score is based off how many dots and potions you collect Dots are worth 1 point towards the score. Potions 12.

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.