Skip to content

MrazTevin/Ping-Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ping-Pong

This is a game simply designed to play around with numbers.

Specifications

  • It counts numbers depending on the user input given.
  • A number divisible by 3 is replaced with a ping.
  • A number divisible by 5 is replaced with a pong.
  • A number divisible by 15 is replaced with a pingpong
  • To find out whether a number is divisible by 3:
  1. Input:5
  2. Output: 1 2 Ping 4
  • To find out whether a number is divisible by 5:
  1. Input :10
  2. Output : 1 2 Ping 4 Pong Ping 7 8 Ping Pong
  • To find out whether a number is divisible by 15:
  1. Input: 15
  2. Output: Ping-Pong 1 2 Ping 4 Pong Ping 7 8 Ping Pong 11 Ping 13 14 Ping-Pong

Installation

The site is directly accessible via the site's github pages.

Author

Built by Tevin Milla

Built With

  • Html
  • Css
  • Java Script

License

This is a Moringa project under the MIT license. Copying of It's Web design is subject to violation.

Acknowledgement

I thank Moringa School for enabling me to sharpen my coding skills each day.

About

A fun game that tests the divisibility of numbers.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published