Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 755 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 755 Bytes

Multiplayer Pacman game

Two player pacman game: Pacman and Ghost.

Built using node.js and socket.io

Live demo - https://murmuring-cove-2777.herokuapp.com/

Installation

How to use

$ cd multi-pacman
$ npm install
$ node index.js

How to play

  • Ensure 2 devices on a network.
  • Open Player 1 browser to http://your.ip.address:3000/
  • Click Create, browser opens screen to display the game id
  • Open Player 2 browser to http://your.ip.address:3000/
  • Click Join
  • Enter the game id displayed in Player 1 screen
  • Player 1 is the Pacman, and Player 2 is the ghost.
  • If the Pacman eats all the dots before the ghost captures him, he wins. Otherwise, if the Ghost capturs the Pacman, he wins.