/IP3

This is a project created by munair

Primary LanguageHTML

IP3

Authors: MUNAIR

Description

This is a game created by Munair for Ping Pong #Specifications

  1. Get input from the user.

    Example input:

    15

  2. Return to the user a range of numbers from 1 to the inputted number.

    Example output:

    [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14,]

  3. Replace the numbers divisible by 3 with "ping".

    Example output:

    [1, 2, ping, 4, 5, ping, 7, 8, ping, 10, 11, ping, 13, 14, ping,]

  4. Replace the numbers divisible by 5 with "pong".

    Example output:

    [1, 2, ping, 4, pong, ping, 7, 8, ping, pong, 11, ping, 13, 14, ping pong,]

  5. Replace the numbers divisible by 15 with "pingpong".

    Example output:

    [1, 2, ping, 4, pong, ping, 7, 8, ping, pong, 11, ping, 13, 14, ping pong pingpong]

  6. Allow the user to enter a new number and get new results.

    Example input:

    5

Technologies Used

  • HTML
  • CSS
  • JavaScript *jqueary

Setup

Make sure you have git installed. On the terminal, navigate to your workspace directory and run

$ git clone https://munail.github.io/IP3/

Contributing

We welcome pull requests

License

This project is released under the MIT License Add Comment Collapse