Skip to content

Made using Socket.io, Node.js, HTML5, CSS3, JavaScript

Notifications You must be signed in to change notification settings

daudich/PingPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PingPong Battle


What is PingPong Battle?

This is a web based multiplayer game that I developed using HTML5, CSS3, and JavaScript. Additionally, I used Node.js as a server and Socket.io for websocket programming using Express framework. This was developed as a class project for CIS*3210 at University of Guelph.

It is just your normal Ping Pong game, except on network and using CSS3 for all its animation.

Lessons learnt and outcome.

My original ambitious project was to extend the traditional game and allow abstract geometries and more than 2 players to join a game. Furthermore, add a social component to the game by adding a chat window per 'Game Room'. My plan to code in PHP also proved challenging as manually parsing WebSockets had a fairly steep learning curve, and time wasn't something I could afford in a 3 week dev and test timeline along with 5 other courses and a part-time job.

I am pleased though, in knowning that I at least implemented the original game. The game was tested on Chrome and Firefox. I plan to complete this project as a personal project over the summer.

How to run?

Some hyperlinks are hardcoded so you might have to change them accordingly. I wasn't planning on making this Public.

  • Run the server: node server.js

  • Run the game:

    • Open 'playera.html'
    • Open 'playerb.html'
  • Enjoy!

About

Made using Socket.io, Node.js, HTML5, CSS3, JavaScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published