Giter Site home page Giter Site logo

epicodus-intro-pingpong's Introduction

Ping Pong: A Number Game!

Ping Pong - Epicodus Arrays and Looping Independent Project

Features

Takes a number input from the user and returns all numbers up to that number to the screen. With the following exceptions:

  • In place of numbers divisible by 3, it will return "ping."
  • In place of numbers divisible by 5, it will return "pong."
  • In place of numbers divisible by 15, it will return "pingpong."

Technologies

HTML, CSS, BootStrap, JavaScript, and JQuery.

Usage

To view the site, please visit my gh-pages at: https://jryanconklin.github.io/pingpong/.

To use the clode, you can clone the repository at https://github.com/jryanconklin/pingpong.

  • Download the Repository
  • Open the "index.html" file in the Browser

Specifications

  • It can count up to the user inputted number.

Input Example: 2

Example Output: [1, 2]

  • It can detect numbers divisible by three and return ping.

Input Example: 3

Example Output: [1, 2, ping]

  • It can detect numbers divisible by five and return pong.

Input Example: 5

Example Output: [1, 2, ping, 4, pong]

  • It can detect numbers divisible by 15 and return pingpong.

Input Example: 15

Example Output: [...pong, 11, ping, 13, 14, pingpong]

  • It only allows number values. A zero returns only itself.

Input Example: 0

Example Output: 0

Author/s

J. Ryan Conklin

##License This work can be used under the MIT License. Copyright (c) 2016 J. Ryan Conklin

epicodus-intro-pingpong's People

Contributors

jryanconklin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.