Giter VIP home page Giter VIP logo

pacman-game's Introduction

PacmanJs ๐ŸŽฎ

PacmanJs is a Javascript, HTML and CSS based game that enable you to play with the most charismatic 80's character ever created.

How to start ๐Ÿšฉ

Installation/Execute ๐Ÿ”ฐ

Clone the repository and run index.html on your web browser:

git clone https://github.com/RishabhDevbanshi/Pacman-Game.git

How to play โœจ

  • You are the pacman with color yellow.
  • Move Pacman using arrow keys.
  • Stay away from the colored ghosts. If your pacman comes in contact with colored ghost, the game ends
  • Cover the green balls

Contributing ๐Ÿ‘ฌ

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update the tests if needed.

License ๐Ÿ“’

PAC-MAN is a trademark of BANDAI NAMCO ENTERTAINMENT INC. This game is developed for educational purpose only.

Support ๐Ÿ™Œ

Don't forget to give this Repository a โญ!

pacman-game's People

Contributors

ayushsaini00 avatar bhavesh1129 avatar evandrolutz avatar mohitshende avatar osoba avatar rishabhdevbanshi avatar shajanjp avatar tanujajoshi1 avatar techlead-war avatar tsukii21 avatar vycdev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

pacman-game's Issues

Game Setting: Add Game Difficulty

Hello, lets add a section where the player can set the game difficulty level before he/she starts play.

Select Difficulty:
Easy (This will be the default)
Medium
Hard

Responsive Pacman UI

#64
Let's take this project to the next level. I need help with making this game-page responsive.

Improve Ghost Movements

Right now , the ghosts are moving randomly. There needs to be some algorithm added so that ghosts follow pacman to make the game more interesting. Also when pacman eats a power up they should run away from him.

Timer for power pellet eaten

Hey I'm in a 2-year-degree in France (in the second year) and I really want to help you. Can I ? I would like to work on the timer display when eating a marble and the flashing effect to announce the end of the effect.

Add sound Effects

A sound effect can be added after major events (for e.g. victory sound, Game over sound etc).

Add Buttons to screen

As you know , right now we can control pacman by just keyboard arrow buttons, it would be great if we also add 4 on-screen buttons, and we can control pacman movements by pressing those buttons.

Home page

The game starts without any interaction of the user, like start button, or so.

Sprites And FPS

May I add sprites, so the characters aren't just dots, and maybe try to make the game 60 FPS, so it isn't a headache to test.

Turn this game available in GitHub Pages

This project is executed by index.html, than just active GitHub pages in the settings and put the URL in README.md.

  • Enable the GitHub Pages in the settings
  • Put the URL in README.md

Modular app.js

All the code is currently in app.js
I think separating the code in different files and make it modular will make project more structured.
MVC separates an application into three components - Model, View, and Controller.
This will make it easier for collaborators to work together and make merging requests easier by reducing conflicts.
Adding new updates and features will also be easier in future.

Use p5.js

I believe it would be interesting to use the p5.js library

Add more levels!!

The game is limited to only one level, we should add some๐Ÿ˜€๐Ÿ˜€.

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.