Closed mdewey closed 5 years ago
https://github.com/gabeo14/BinarySearch
Got it! Had a lot of fun with this one! I surprised myself with my ability to debug. Liking c# so far!
Thanks Mark!
Love the snarky, but don't forget to add a gitignore to your project
Your homework was marked: Meets Expectations
“Gavin Approved!” — via Jason L Perry
Today you learned a new language and will be starting to explore it more in depth in the coming weeks. Like any good craftsman, the first thing you need is to learn your tools. Tonight, you will be setting up your developer environment, creating a simple console application, and writing a short blog.
Objectives
Requirements
.NET Students
C#
plugin in VS Code.dotnet -v
in your terminal.Ruby
You should already have Ruby installed.
Explorer Mode
Simple Console Application
[x] Create a console application that guesses a number that a user has thought of ,between 1 and 100. This will use a
binary search
to guess the correct number[x] Here is the JavaScript, in browser, algorithm to follow. Make sure to understand this first before writing new code:
https://codepen.io/ambethia/pen/KNewBb
. NOTE You will be translating this from the event driven paradigm of HTML to the more procedural paradigm of a console application.[x] For Explorer Mode, you do not have to put in menu or other user experience "nice to haves", focus on the just the core algorithm.
Wireframes
Adventure Mode
Try again
andWelcome, press enter to start
Epic Mode
Additional Resources
Ruby Resouces:
.NET