Skip to content

mescalito/challenge

 
 

Repository files navigation

Pacman Technical Challenge

Typescript & React implementation of the popular arcade game Pacman.

Currently pacman uses [A, S, W, D] keys for moving.

Suggested time: 1 hour.

Tasks

  • Create a way to automate Pacman's moves in src/lib/game/Pacman.ts such that Pacman can achieve the highest score.
  • Add a button that will run 100 iterations using the new automated algorithm
  • Take note of any architectural problems for further discussion

Rules

  • "Looking" is defined by examining the this.items elements. See findItem method of src/lib/game/Item.ts for an example
  • Pacman can only look ahead and side to side (he can not look behind him).
  • Pacman can not look through walls
  • Do not alter the Ghosts' behavior
  • Do not alter the scoring rules
  • Be creative

About

Pacman Technical Challenge

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 98.2%
  • HTML 1.8%