Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 1.6 KB

README.md

File metadata and controls

38 lines (24 loc) · 1.6 KB

Football-Pong ⚽

Football-pong is an exciting two-player game where opponents take turns clicking on the ball, sending it in a random direction towards the enemy goal! Play on the same computer, battling each other on the soccer field, and watch as each click brings the ball closer to the coveted goal. A simple but dynamic game where every move can be decisive!

readmePhoto

💻 Deploy: Link

Technology stack

🔴 HTML

🔴 SCSS

🔴 JavaScript (ES6)

🔴 Webpack 5

Features

  • When you click on the ball, it moves in a random direction.
  • When the screen height is greater than the screen width, a pop-up window appears to warn the player to move the phone to a horizontal position to display the game correctly.
  • There is an option to enable full screen mode, which is designed to display the game correctly.
  • Goals are tallied for each player.

Run the project locally:

To start working on the project on your local machine, please, make sure that you install Git and Node.js LTS.

Steps to start:

  • Clone repository.
  • Open the project locally.
  • Switch to the dev-page branch.
  • Run npm install or npm i - to install all packages needed.
  • Run npm run start - to starts a local dev-server (The tab will open automatically in the browser).
  • Run npm run dev - build the project for development.
  • Run npm run prod - build the project for production.