Skip to content

oliwright1994/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong Game Starter

A starter project for a basic pong game using SVGs.

Setup

Ensure you have Node.js installed first.

Install dependencies:

$ npm install

Run locally with the Parcel dev server:

$ npm start

Once you run the start command you can access your project at http://localhost:3000.

Read more about the Parcel web application bundler here.

Deploy

The deployment workflow for this project will be a bit different from what you've used when deploying simple static websites.

To deploy your finished Pong project as a GitHub page, you must first update the predeploy script in the package.json file with the name of your repo.

For example, if your repo URL is:

https://github.com/bob/pong-project

Update the predeploy script as follows:

"predeploy": "rm -rf dist && parcel build index.html --public-url /project-03-pong",

Once you have done this, you can run:

$ npm run deploy

Now check out your deployed site 🙂

About

A pong game created using SVGs and JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •