Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

What are some good project ideas to learn OOP?

I've finished the C# Objects course, and I want to reinforce what I learned there. I'm a beginner.

1 Answer

Hi Ismael!

I found these online(specifically for c#):

https://dev.to/samborick/100-project-ideas-oda

https://dev.to/nerdjfpb/15-c-project-ideas-beginner-to-expert-with-tutorial-iio

Other than those, I would suggest trying to emulate a familiar real-world object or a game of some sort.

One popular (and rather challenging) game coding challenge is The Simon Game:

https://www.youtube.com/watch?v=1Yqj76Q4jJ4

Which I usually see as a JavaScriptm HTML and CSS challenge, but I'm sure a C# version would be interesting, too.

More info:

https://medium.com/chingu/fcc-challenge-simon-game-d62bc7f2db0c

This my quirky version of The Simon Game coding challenge (using React and Redux):

https://codepen.io/petrovnikov/full/MXxQPx

I also made my own project - a game using Python to essentially explore "The Monty Hall Problem":

https://www.youtube.com/watch?v=iBdjqtR2iK4

https://www.khanacademy.org/math/precalculus/x9e81a4f98389efdf:prob-comb/x9e81a4f98389efdf:dependent-events-precalc/v/monty-hall-problem

My game allowed a user to play the game manually or several times in a row (100, 100, 10,000, or even 100,000) both staying every and switching every time, so you can really see the likelihood of winning or losing in each case. (You are definitely twice as likely to win if you switch every time instead of staying!?!)

I hope that helps.

Stay safe and happy coding!

Thanks for answering! I really appreciate it