/Pong

Pong (PvP, PvC)

Primary LanguageJavaScript

Pong

2 Player-Pong

Deployment flow

  1. Create development branch
  • from master
    • git checkout -b development
  1. Pull @ beginning of day
  • from development
    • git pull origin master
    • (npm install) if needed
  1. Create 1 branch per file feature
  • from development
    • git checkout -b file_feature
  1. By end of day
  • from branch
    • git add .
    • git commit -m "update details"
    • git push origin file_feature
    • gitHub: Pull request
    • git checkout development
  • from development
    • gitHub: Pull request
    • git branch -d branch_name

Links


Functions and objects

Objects:

  • paddle blueprint
  • player
    • paddle 1
    • paddle 2
  • players in game (pvc, pvp, cvc)
  • computer
    • paddle 1
    • paddle 2
  • ball
    • ball 2, 3, 4?

Functions

  • Game run
  • Ball collision
  • Match track
  • Computer AI