Skip to content

ibrahimahtsham/multiplayer-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

54 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Multiplayer Game

Static Badge

Game Screenshot

Overview

Multiplayer Game is a custom-coded real-time game built using HTML, JavaScript, and CSS. It leverages WebSocket-based sockets for real-time communication between players, ensuring smooth multiplayer gameplay. The game is deployed on Render for a live experience.

Features

  • Real-time multiplayer gameplay: Connect and interact with other players via sockets.
  • Neon color customization: Each player is tinted with a unique neon color from a predefined set.
  • Optimized canvas rendering: Efficiently applies color tints to player images while preserving transparency.
  • Built with web technologies: Developed using HTML, JavaScript, and CSS.
  • Live deployment on Render: Experience the game live on Render.

Project Structure

multiplayer-game/
β”œβ”€β”€ index.html       // HTML for the game layout
β”œβ”€β”€ styles.css       // CSS for styling the game
β”œβ”€β”€ main.js          // JavaScript for game logic and socket communication
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ playerImage.png
β”‚   └── ... other assets ...
└── README.md        // This file

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/multiplayer-game.git
    cd multiplayer-game