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 starting your final project.
Objectives
Set up your dev machines
Create a simple console application to ensure your machine is set up correctly
start working through your wireframes for your capstone
To verify everything was installed correctly, run dotnet -v in your terminal.
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 browser-based JavaScript 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 the menu or other user experience "nice to haves", focus on the just the core algorithm.
Wireframes and Ideas
[x] Work on your wireframes and ironing out your idea. Work with your instructors and peers to work out the kinks. Ideas should be approved by tomorrow.
Adventure Mode
[ ] Add a nice user experience to the console app. Include features such as
Try again and Welcome, press enter to start
Epic Mode
[ ] Eventually we will be using a MVC application structure. To prepare for this, refactor your code to have all your business logic in separate class and all your console interaction in the main class.
A Whole New World
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 starting your final project.
Objectives
Requirements
.NET Students
Install the .NET Core SDK.
Install the follow plugins:
C#
C# extensions
C# code snippets
To verify everything was installed correctly, run
dotnet -v
in your terminal.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 browser-based JavaScript 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 the menu or other user experience "nice to haves", focus on the just the core algorithm.
Wireframes and Ideas
Adventure Mode
Try again
andWelcome, press enter to start
Epic Mode
Additional Resources
.NET