Skip to content

DimitarDTsonev/Glow_Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Glow Pong

Glow Pong is a modern, visually enhanced take on the classic Pong game. This version features glowing effects, color flashes, and smooth gameplay, inspired by games like Glow Hockey. The game has a pause and resume feature, enhanced visual effects when the ball hits paddles or borders, and adjustable player speeds.

Table of Contents

Features

  • Glowing Players and Borders: Players and the walls glow in their respective colors with smooth transitions.
  • Dynamic Ball Flashing: The ball flashes with different colors depending on what it hits—players or borders.
  • Pause/Resume Functionality: Pressing the space bar will pause the game and display a pause icon, while resuming the game shows a play icon for 1 second.
  • Progressive Player Movement: Player paddles accelerate progressively, giving the game a more dynamic feel.
  • Customizable Board Dimensions: You can modify the board dimensions and player sizes.
  • Midline: The classic Pong midline is drawn to mimic the original game.

Gameplay

  • The objective is to score by making the ball pass the opponent's paddle.
  • The ball speeds up slightly when it hits a paddle, making the game progressively more challenging.
  • The glowing, flashing, and pause effects make this game an exciting new version of Pong!

Installation

Prerequisites

  • A modern web browser (Chrome, Firefox, Safari, etc.)
  • Basic understanding of HTML, CSS, and JavaScript.

Steps

  1. Clone the repository:
    git clone https://github.com/DimitarDTsonev/Glow_Pong.git
    
  2. Navigate into the project directory:
    cd Glow_Pong
    
  3. Open the .html file via your prefered browser(like Google Chrome).

Controls

  • Player 1:

    • Move up - 'W'
    • Move down - 'S'
  • Player 2:

    • Move up - 'ArrowUp'
    • Move down - 'ArrowDown'
  • Pause/Resume:

    • Press 'Space' to pause or resume the game.

Credits

  • Developed by: Dimitar Tsonev
  • Inspiration: Classic Pong and Glow Hockey
  • Technologies used: HTML, CSS, JavaScript, Canvas API.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors