Closed mdewey closed 6 years ago
Anytime you have duplication of code like:
https://github.com/Britney-Diboll/MorseCode/blob/master/MorseCode/Program.cs#L50 and https://github.com/Britney-Diboll/MorseCode/blob/master/MorseCode/Program.cs#L35
you should think about refactoring and abstracting the code. Reminded to keep things DRY
Morse Code Converter
Create a simple app that lets a user type in a phrase in english and print out the phrase in Morse Code
Objectives
Setup
Explorer Mode
Dictionary
in memory to help in the conversionAdventure Mode
[ ] Save the User's past results and display them if the user asks. This should persist across multiple runnings of the app (read/write to a file)
[ ] Allow the user to type in Morse Code and convert to English
Setup
Visual Studio 2017
and create a newconsole application
create git repo
and make sure it has a.gitignore
Turning In
Your homework will be assigned to you via
issues
on yourassignments
repository. Once you areThese steps will be followed for almost every assignment going forward. Once you've completed at least explorer mode and you're satisfied with your work, let's get it published. First let's get it up on GitHub.
First, let's add all our work to git, and ask it to commit it:
Feel free to replace "My first webpage" with a more meaningful message.
Push our local commits to GitHub:
The
-u
option tells git we want to making pushing themaster
branch toorigin
the default, so next time, we can just typegit push
.Now that our source code is up on GitHub, let's publish our page to Surge. The command to do this has already been setup for you:
Once you are completely, go to the issue on our
assignments
repository, leave the link the repo of your work, and close the issue. I will not know you are down until you close the issue.Additional Resources