Skip to content

Espar-RodBar/Pacman-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Pacman-JS

URL https://espar-rodbar.github.io/Pacman-JS/

A Pacman game made with Vanilla Javascript.

This project was built after seeing the walkthrough made by Ania Kubov.

Some parts are made with a little different aproach.

Watch Ania's full video walkthrough!! here

In this project we use:

  • Dom manipulation
  • touchstart event
  • addEventListener
  • classList.add/contains/remove
  • Use of some classes (ghosts)
  • Array .push and .shift elements
  • setIntervals
  • clearIntervals
  • use this. and bind()
  • .find()
  • forEach()
  • .indexOf()

For the ghost, they have two movements, one for exiting the ghost lair, and the chase mode.

Releases

No releases published

Packages

No packages published