Skip to content

davfront/pong

Repository files navigation

Pong Game

Experience the timeless classic Pong game, revitalized with modern web technologies. This project utilizes Vite.js for a fast development setup and optimal front-end tooling. The game is built with vanilla JavaScript, employing Web Components for modular UI development, and Web Workers to handle intensive tasks without blocking the main thread.

Technologies

  • Vite.js: For streamlined development and build optimization.
  • Vanilla JavaScript: For core game logic and interactions.
  • Web Components: For UI structuring and feature encapsulation.
  • Web Workers: For efficient background processing to maintain smooth gameplay.

Game Modes

  • Two Players: Challenge a friend in this two-player mode.
  • Single Player: Compete against a computer-controlled opponent (AI) and hone your skills.

Live Demo

Check out the live demo here: Play Pong!

How to Play

  1. Clone this repository: git clone https://github.com/davfront/pong.git
  2. Navigate into the project directory: cd pong
  3. Install dependencies: npm install
  4. Run the development server: npm run dev
  5. Open your web browser to http://localhost:8000 to start the game.
  6. Select your desired game mode and enjoy playing!

Enjoy the game, and may the best player win!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published