Coder Social home page Coder Social logo

xenirio / classic-phone-pad Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.16 MB

This is a simple project that simulates a classic phone pad with the numbers from 0 to 9 and the letters that are associated with each number, backspace key, and a send button.

C# 100.00%

classic-phone-pad's Introduction

Classic Phone Pad

This is a simple project that simulates a classic phone pad with the numbers from 0 to 9 and the letters that are associated with each number, backspace key, and a send button. Each button is numbered, and pressing a button repeatedly cycles through the letters assigned to it, allowing each button to represent multiple letters.

You can input sequences of numbers with the operators * and # and the program will output the corresponding letters.

Prerequisites

Project Structure

  • ClassicPhonePad

    A console application that uses the core library to simulate the classic phone pad.

  • ClassicPhonePad.Core

    A class library that contains the classes and interfaces that define the core logic of the application.

  • ClassicPhonePad.Core.Tests

    A class library that contains the unit tests for the core library.

graph TD;
  APP["ClassicPhonePad"] --"reference"--> CORE["ClassicPhonePad.Core"]
  TESTS["ClassicPhonePad.Core.Tests"] --"reference"--> CORE
Loading

How to run

  1. Clone this repository to your machine.

  2. Open terminal or command prompt and navigate to the project folder.

  3. Restore the project dependencies:

    dotnet restore
  4. Build the project:

    dotnet build
  5. Run the project:

    dotnet run

Run Example

Contributing

  1. Fork this repository.

  2. Create a new branch with your feature or fix:

    git checkout -b feat/my-feature
  3. Commit your changes:

    git commit -m 'feat: My new feature'
  4. Push your branch:

    git push origin feat/my-feature
  5. Create a pull request.

  6. Make sure your PR can pass the CI/CD pipeline.

    CI/CD Pipeline

  7. After your PR is approved and merged, don't forget to delete your branch.

classic-phone-pad's People

Contributors

xenirio avatar

Watchers

 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.