Git Product home page Git Product logo

pacman's People

Contributors

cradcore avatar jurentie avatar mightiestmints avatar steelheart13 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

kiram15

pacman's Issues

Framework - Corey

Write a section discussing the framework of the project (i.e. the origins of the Pacman object, the Ghost object, and Playgame)

Discuss inspirations and decision points. Import to project as a textfile titled Framework-Corey

Reinforcement Learning - Wes

Discuss decisions made with reinforcement and Q table implementation.

Import to project as ReinforcementLearning.txt

Create Ghosts list in Main

Ghosts should be created in main and passed into playGame to have a wider range of control with the experiment.

Test cases/data collection

We already thought of a few areas to test our program and compare data between the AI algorithms, but need more. I am currently working on these, but if you guys have any ideas of stuff that we should include, please let me know!

PacMan - IDS

Discuss decisions and implementation of IDS for PacMans bloodhunter AI.

Import to project a txt titled PacManIDS-Justin.txt

Ghosts replace Dots

When a ghost moves over a dot that dot is removed from the game, which leads to pac-man never being able to win

Remove 'P' and 'G' on board after starting game

'P' and 'G' being on the board after starting the game play makes it slightly confusing to keep track of what is going on.
Could benefit from storing the locations of spawn points at the beginning of the game, to keep that information available, and then replacing 'P' and 'G' with spaces to make it easier to understand what's happening.

GameBoard - Braden

Discuss decision points for the GameBoard object, and why we wanted to move to an object oriented design.

Import to project as a textfile titled Gameboard-Braden.txt

Dot - Create Class

Create the Dot class. This should have

  • X and Y coordinates
  • A variable to control the 'Big Dot' feature

PlayGame - Implement Score integer

Decrement a Score integer every state of the game. Increment the Score integer by 10 when Pacman eats a dot, and Decrement it by 100 if Pacman dies.

run from ghost - teleports

The function runFromGhost() in PacMan.py doesn't know how to properly handle if ghost is on other side of a board and may be going through a teleport.

For example, pacman might run from ghost through the teleport then think it okay to move around the teleport but when ghost comes through it eats pacman.

PacMan "run away" behavior

I think that I have a basic implementation of IDS for PacMan looking for the closest dots, and have a way of checking to see if there is a ghost too close to the dot to warrant getting that dot, but I'm not sure what is the best way to implement PacMan running away from the ghost.
I was thinking a really simple solution would be to add a check in actions that will check to see if ghost is within a certain distance from the current location and if it is, remove that direction from possible actions all together. This way the next move PacMan makes will always be away from the ghost given a specific distance.
I believe that given this case PacMan will just run away from PacMan until he gets a clear shot to another dot, not in the way of ghosts. What are thoughts on this idea?

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.