Ping Pong
Ping Pong will take a user inputted numeric value and create a list counting until that number, replacing some numbers with ping, pong or pingpong}, {2/24/17}_
By {Chance Magno}
Description
Ping Pong will take a user inputted numeric value and count it out number by number while replacing some numbers with ping, pong and pingpong based on a created algorithm. It will only accept numeric values to work and will not allow letters to be submitted.
Behavior | Input | Output |
---|---|---|
Output can count up to provided number | 2 | [1,2] |
Output can replace numbers divisible by 3 with no remainder with "ping". | 3 | [1,2,ping] |
Output can replace numbers divisible by 5 with no remainder with "ping". | 3 | [1,2,ping,4,pong] |
Output can replace numbers divisible by 15 with no remainder with "ping". | 3 | [1,2,ping,4,pong,ping,7,8,ping,pong,11,ping,13,14,pingpong] |
Setup/Installation Requirements
download clone file on github find folder named pingpong in directory open folder click index.html written in html preferred browser: chrome Known Bugs
none, if found please contact.
Support and contact details
Email Chancemagno@gmail.com for support
Technologies Used
This is using bootstrap for styling and javascript/jquery to process user input and produce the result.
License
Copyright (c) 2017 {ChanceMagno}