Git Product home page Git Product logo

pacman-game's Introduction

pacman-game

pacman-game pacman-game pacman-game pacman-game pacman-game pacman-game pacman-game

This project is a Pac-man game that uses a graph as a data structure in order to find the shortest paths between ghosts and Pac-man. It is presented as a final project in the course of algorithms and data structures in the second half of 2019.

The objective of the game is to accumulate as many points as possible by eating dots, power-pellets(energizers), fruits and blue ghosts. When all of the dots in a stage are eaten, that stage is complete and the player will advance to the next one. Four ghosts roam the maze and chase Pac-Man. If any of the ghosts touches Pac-Man, a life is lost. When all lives have been lost, the game is over.

You can change Pac-man direction using either WASD, IJKL or the arrow keys.

Overview

Overview Overview Overview Overview

Made by

pacman-game's People

Contributors

7yrionlannister avatar imgbotapp avatar stigma137 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pheerawadee

pacman-game's Issues

Problems with ghosts behavior

Added ghost behavior when pacman eats them. Sometimes pacman eats ghosts but they do not
go to their house tile, instead they go to scatter mode directly.
Noticed that sometimes ghosts go through the walls when the frightened time last.

Characters in the GUI frozen

Every time the program runs, a random character stops moving in the GUI although it is moving in the model. Platform.runLater is being used so this problem was not expected to happen. related to #1

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.