Skip to content

Live site link on repo! Wk 3: Ping-Pong Code Review using Behavior Driven Development

Notifications You must be signed in to change notification settings

Michaela-Davis/intro_ping-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ping-Pong

Ping-Pong, 1.20.17

By Michaela Davis

GitHub Pages Link

https://michaela-davis.github.io/intro_ping-pong/

Description

This is a webpage application built using HTML, CSS, Bootstrap, JavaScript, and jQuery, which was built using the behavior-driven development process.

Setup/Installation Requirements

  1. Clone this repository using git clone https://github.com/Michaela-Davis/intro_ping-pong.git
  2. Open index.html in any browser

Does not require a server or setting up a database.

Specifications

  • The program should count up to the provided number
    • Input Example: 2
    • Output Example: [1, 2]
  • The program should replace numbers divisible by 3 with "ping"
    • Input Example: 3
    • Output Example: [1, 2, ping]
  • The program should replace numbers divisible by 5 with "pong"
    • Input Example: 5
    • Output Example: [1, 2, ping, 4, pong]
  • The program should replace numbers divisible by 15 with "ping-pong"
    • Input Example: 15
    • Output Example: [1, 2, ping, 4, pong, ping, 7, 8, ping, pong, 11, ping, 13, 14, ping-pong]
  • The program should allow user to enter a new number and see new results over and over again
    • Input Example: 2
    • Output Example: [1, 2]
    • Input Example: 5
    • Output Example: [1, 2, ping, 4, pong]

Known Bugs

No known bugs.

Support and contact details

No support available

Technologies Used

Javascript, jQuery, HTML, CSS, and Bootstrap

License

MIT License

Copyright (c) 2017 Michaela Davis

About

Live site link on repo! Wk 3: Ping-Pong Code Review using Behavior Driven Development

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published