CRM2017 / Air-Hockey-Game

Real-Time Collaboration with Web Sockets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Air-Hockey-Game

Real-Time Collaboration with Web Sockets

Version: JavaScript version: v8.9.4 Tested on MacOS / Windos OS

Install: npm install socket.io

Launch the server : node server.js

visit: http://localhost:3000/assignment3.html

Test:

NOTICE: Do not click both ready buttons on same webpage or you can not control paddle separately

  1. Open one webpage and enter a player name by click ready button
  2. Open another webpage and enter another player name
  3. Player names will apear on top and socores will below the play names
  4. Use arrow keys to control the paddle on each page
  5. Click quit button and the game will be stoped
  6. You can open third page to watch the game

About

Real-Time Collaboration with Web Sockets


Languages

Language:JavaScript 89.5%Language:HTML 8.8%Language:CSS 1.6%