Coder Social home page Coder Social logo

ping-pong's Introduction

Ping-Pong

Prime-Sifting app, 12/07/2020

By Amanda Otero

Description

Ping-pong is a classic programming exercise that utilizes branching and looping. Here's how it works:

  • You enter a number and the application returns all numbers from 1 to the user input with the following changes:
  • All numbers divisible by 3 are replaced by "ping".
  • All numbers divisible by 5 are replaced by "pong"
  • All numbers divisible by both 3 and 5 are replaced by "ping-pong".

Setup/Installation Requirements

Open Locally

  1. _Navigate to my Ping-Pong to view the project files and commits.
  2. Click on the green button labeled "Code" to copy repository URL.
  3. Clone the repository to your local machine by opening your machine terminal and using the command "git clone https://github.com/mandystar018/Ping-Pong".
  4. Navigate to the folder "/FindAndReplace.Tests"/ModelTests/ to see test files.
  5. Navigate to the folder "/FindAndReplace/Models/" to see C# files
  6. To use this application you will need to install .NET. Please, see instructions below.

.NET Installation

Mac

C# and .NET programming are fully supported on Mac operating systems. We can install .NET and C# on a Mac in a few steps:

  1. Download this .NET Core SDK (Software Development Kit) . Clicking this link will prompt a .pkg file download from Microsoft.

  2. Open the file. This will launch an installer which will walk you through installation steps. Use the default settings the installer suggests.

  3. Confirm the installation is successful by opening your terminal and running the command $ dotnet --version. You should see something like this in response: 2.2.105. This means both .NET and C# are successfully installed.

Windows

Note on Windows Versions These Windows instructions assume you're using Windows 10. If you currently run Windows 7 or Windows 8, you may have a free upgrade available.

If you are not running Windows 10 (and cannot or do not plan to upgrade), specific installation steps may differ. However, your instructor will be available to assist with personal laptop configurations during the first week of the course.

Installation Steps

  1. Download either the the 64-bit .NET Core SDK (Software Development Kit). Clicking these links will prompt a .exe file download from Microsoft.

  2. Open the file and follow the steps provided by the installer for your OS.

  3. Confirm the installation is successful by opening a new Windows PowerShell window and running the command dotnet --version. You should see something a response like this (version numbers do not need to be the same): 2.2.105
    This means .NET and C# are installed and our computer recognizes the dotnet command.

Running Program

Run Application

You can launch our program with the following steps:

  1. Navigate to the "/FindAndReplace/" folder in the command line.

  2. Run the following command: $ dotnet build

  3. Finilly, run the following command to execute this compiled code: $ dotnet run

Known Bugs

App not finished working progress

Support and contact details

If you have any questions, ideas or concerns, please, contact us:

Technologies Used

  • C#
  • .NET
  • VisualStudio Code
  • Git
  • GitHub
  • MSTest

License

This software is licensed under the MIT license

Copyright (c) 2020 Amanda Otero

ping-pong's People

Contributors

mandystar018 avatar

Watchers

 avatar

Forkers

rylandadams

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.