/TheWoodlands

An individually developed, WPF, 2D, object-oriented programming application using C#.

Primary LanguageC#

TheWoodlands

"The Woodlands: Nuclear Winter" is a post-apocalyptic, WPF, 2D object-oriented programming game using C# and XAML. It was a final project developed for my PROG 101 "Programming I" course at Columbia College Chicago. The summary of the game goes:

After a series of events between powerful nations, war broke out. Weapons of mass destruction (WMD) were used, and many died. Luckily, your current location was not a target. Unfortunately, nuclear winter awaits, and you must prepare. Gather supplies to survive.


Character

User Name

Prior to starting the game, players are able to enter a name of their choice for their player. This name will appear in the home page of the game.


Avatar

Avatar Customization

Players can customize their avatar before starting by changing their skin color and choosing clothing color.

Avatar Customization for Clothing

If they do not their avatar, they may visit the settings page followed by the customize page where they can re-customize.


Locations

Locations

There are a total of five explorable locations. Some locations may contain items to collect, some may contain NPC’s, some may not contain anything. Players can visit any of these five locations.


Collectable Items

Items

Players are able to collect items at any of the 5 locations if they contain items. When items are collected, players are able to view their items in their inventory. Locations with NPCs may also contain items that players can collect by trading them.


Non-Playable Character (NPC)

NPC

If a location contains an NPC, players may be able to interact with them by trading items. An NPC may require certain items before being able to trade.


Settings

Settings

The settings page contains three options:

  1. Exit Game
  2. Restart Game
  3. Customize Avatar

Option one allows the player to exit the game if they would no longer want to continue playing. Option two allows the player to restart the game. Option three allows the player to re-customize their avatar.


Other

other_1 other_2

All images (e.g. locations, item, sprite, NPC, icon images...) were created by me, Pablo Bedolla, using the interface design tool: Figma


Credits

  • Assistance received by my Professor Emre Biberoglu from PROG 101 "Programming I" in creating DisplayInventoryItems() method contents in Inventory.xaml.cs and in understanding how to dynamically program my project.

  • Helped me create YesOrNoMessageBox() method in Utilities.cs: Stackoverflow Answer

  • Helped me name xaml elements: Source