Skip to content

Browser multiplayer Pong game using websockets.

Notifications You must be signed in to change notification settings

MatKollar/CyberPong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

34230bb ยท Jun 13, 2023

History

4 Commits
Jun 13, 2023
Jun 13, 2023
Jun 13, 2023

Repository files navigation

๐Ÿ•น๏ธ CyberPong

Welcome to CyberPong, a modern twist on the classic Pong game! This multiplayer browser game has been designed using the power of Vue.js and Node.js, leveraging WebSockets to ensure real-time gameplay and a smooth experience for players around the world. Test your reflexes and compete with players in this cybernetic themed pong game. ๐ŸŒ๐Ÿ’ป

๐Ÿ“– Overview

CyberPong provides a real-time multiplayer gaming experience right in your browser. You can invite your friends for a game or compete against random players online. The game mechanics are similar to the classic Pong game but with a visually appealing cybernetic interface. ๐ŸŽฎ๐Ÿš€

๐Ÿ”ง Technologies Used

  • Vue.js: A progressive JavaScript framework used for building user interfaces. ๐Ÿ–ฅ๏ธ
  • Node.js: A JavaScript runtime engine, used for the backend. โš™๏ธ
  • WebSockets: A protocol providing full-duplex communication channels over a single TCP connection, enabling real-time communication between the client and the server. ๐ŸŒ

๐Ÿ’ป Installation and Usage

Prerequisites

Make sure you have the following installed on your system:

  • Node.js (v14.x or above) ๐Ÿ“ฆ
  • Npm (v6.x or above) ๐Ÿ› ๏ธ

Clone the repository

To clone the repository, run the following command in your terminal:

git clone https://github.com/MatKollar/CyberPong.git
cd CyberPong

Install dependencies

After cloning the repo, navigate to the project directory and run the following command to install the required dependencies:

cd backend
npm install

Run the application

To start the server, use the following command:

node index.js

After starting the server, navigate to the frontend folder, and run index.html using live server.

๐Ÿ“ธ Screenshots

screenshot