/pacman-game

JavaScript game for an university work: https://martinlacorrona.github.io/pacman-game/

Primary LanguageJavaScript

pacman-game

JavaScript game for "Software de entretenimiento en Videojuegos".

Do you want to try the game?

https://martinlacorrona.github.io/pacman-game/

Android version

https://github.com/martinlacorrona/pacman-game-android

Controls

Gamepad

  • A: shot, continue
  • B: restart game
  • Left joystick: move pacman player
  • START: Pause the game

Keyboard

  • SPACE: shot, continue
  • R: restart game
  • Arrows keyboard: move pacman player
  • ESC: Pause the game

Mobile controls

  • Shot button: shot
  • Touch screen: continue
  • Restart button: restart game
  • Touch gamepad: move pacman player
  • Pause button: Pause the game

Goal

Eat all seeds to beat the level. Be careful with the enemies and good luck!

Do you want to create new level map?

You can create a map to easy, this is the first level:

_____________________
_###################_
_#...B....#....B...#_
_#+##.###.#.###.##+#_
_#........B........#_
_#.##.#.#####.#.##.#_
_#....#...#...#....#_
_####.###_#_###.####_
____#.#___F___#.#____
_####.#_#####_#.####_
>....._S#___#S_.....<
_####.#_#####_#.####_
____#.#_______#.#____
_####.#_#####_#.####_
_#........#........#_
_#.##.###.#.###.##.#_
_#+.#.....*.....#.+#_
_##.#.#.#####.#.#.##_
_#....#...#...#....#_
_#.######.#.######.#_
_#........V........#_
_###################_
_____________________
  • "#" blocks
  • "B" ammunition
  • "." basic seed
  • "+" power seed
  • "*" player spawn
  • "S" basic enemy
  • "F" boss enemy
  • "V" extra life If you want, you can create new level and send me via issue. :)