Skip to content

sevakmaheshr/pacman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pacman

HTML5 Pacman

Introduction:

This is a slightly modified version of Dale Harvey's Pacman code.

Dale Harvey: https://github.com/daleharvey

Dale Harvey's Pacman codde: https://github.com/daleharvey/pacman

I have made some slight modifications to that original code to achieve a singular result: make it easy to play the first few levels and make it super tough to play later levels. Also, the ghosts are less intimidating in the first few levels.

My changes also give you:

  • a lot of score very quickly
  • a lot of lives very quickly (although you start with just 1 life - but the game is so easy during that life that you will soon accumulate tons of lives for the future)

I have also cleaned up the lives, score and level part of the UI to suit my needs.

Unfortunately, within a short while after starting the game, it gets kinda hard. You will see when you play the game.

So, how do you play the game?

Just download the zip of this code repo onto your computer. Unzip the zip file you have downloaded in the previous step. That should create a directory/folder called "pacman-master". Get into that dir/folder and double click the "index.html" file. That should start the game in a new tab in your default browser. Get your fingers moving on the arrow keys ... cause the ghosts are coming to get you!

A few things to note:

I am NOT a JS programmer. So, I have used my little knowledge from other programming languages to make the changes. So, if my JS code (changes) don't quite live up to your modern JS/ES 6-7-8, etc coding standards ... forgive me. At this point in time I have no interest in learning JS. 😜

I am NOT a github user. So, if this doesn't work, don't blame me. Be nice and let me know by raising an issue.

Hope you enjoy my changes to DH's Pacman code. 🙂

About

HTML5 Pacman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.7%
  • HTML 3.3%