A game that demonstrates object-oriented programming principles inheritance, encapsulation, and polymorphism. C# Adventure Game
A Study Application that reads in terms and definitions from an external file (or files).
A command-line application with areas to explore and items for the player to find in each area. Before you can travel to the lake for snorkeling, the equipment must be found in one of the other areas. Explorable Areas
Underwater Creatures demonstrates inheritance, polymorphism, and encapsulation.
An application that lets a player create a custom insect character: Adopt-An-Insect
Shift Cipher is an application that encodes and decodes using a simple substitution cipher.
Code examples can be shown like this:
private void Play()
{
foreach (TriviaItem triviaItem in Questions)
{
Clear();
WriteLine(player.PlayerInformation());
WriteLine(triviaItem.Question);
string input = ReadLine();
if (triviaItem.CheckAnswer(input))
{
player.IncrementScore();
}
}
}
For more details see GitHub Flavored Markdown.
- WPF Navigation A WPF example of using a frame that loads in different pages of content.
- WPF Historical Figures Inheritance Example An example of child classes inheriting from a base class in WPF
- WPF Character Customization Example Example of using WPF and C# to allow a player to modify something with radio button choices (like an item or a creature companion)
- WPF Zero Sum Pennies A WPF example of the penny game described in 'The Computational Beauty of Nature'
More projects on my github repo site