Random words, an array, and conditional statements. Create a word guessing game that asks a player to guess a random word. As we build the C# console application, we'll discuss some fundamental programming concepts. We'll build upon the code we started in . (If you haven't read it yet, you might want to start there!) ...continue reading "Word Guessing Game: C# Console Application"
Tag: C#
Numeric Guessing Game: C# Console Application
Type conversion, random numbers, and conditional statements. We'll create a game where the player will try to guess a random number. Fundamental programming concepts will be covered as we build the C# console application. Numeric Guessing Game Framework The framework for our game will have two classes: Program and Game. A method (Play) in the ...continue reading "Numeric Guessing Game: C# Console Application"
Simple C# Madlib (Part Three)
Arrays and loops can make our Madlib code more organized. This is part three in a series to create iterative versions of a Madlib in C#. If you haven't read through , start there! Focusing primarily on improving our code, we'll add two arrays and a loop. By using an array we can condense the ...continue reading "Simple C# Madlib (Part Three)"
Reading and Writing External Data (C# Console Application)
External data: using text files to store data. We will create a console application that will let us display text from, and save data to, an external data file. After we walk through how to read in data and write it back out, there is an example of how you could build a simple menu ...continue reading "Reading and Writing External Data (C# Console Application)"
Free Programming Development Options
Code text editor and IDE recommendations. Integrated Development Environments (IDEs) and text editors (for coding) can make programming much easier with syntax coloring and other helpful options. You might even want one of both if you'll be working with several languages and different types of projects. There are many excellent free programs, and some that ...continue reading "Free Programming Development Options"
Console Application Color: Text and Background
Add color to your console application! Color can help emphasize important content and create an engaging interface. C# console application color is limited, but it can still be used to improve your game or software interface. Text and Background Foreground and background color properties can be changed in C# console applications. The foreground is the ...continue reading "Console Application Color: Text and Background"
Console Application ASCII Design
Add design elements to your console application's interface. You can add visual design to your C# text-based console application even though you can't use graphic files. Alphanumeric characters can be used to create design elements, ASCII design, in your console application. Used strategically, ASCII art can make an interface more interesting. Balance your ASCII art ...continue reading "Console Application ASCII Design"