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#

Henrik Christensen
seal-mask
.a{fill-rule:evenodd;}techdegree
Henrik Christensen
Python Web Development Techdegree Student 38,322 Points

Game of Matches (feedback)

Hi,

I just ran over C# objects course again to refresh my C# and Jeremy McLain suggests at the end of each course that we go build something and use what we just learnd.

I decided to make a console version of the "Game of Matches" game, where you and your friend keeps picking 1, 2 or 3 matches (starts at 21 matches) until someone picks the last match and lose.

I've tried to keep all the prompting to the console in the Prompter class and the logic in all the other classes.

Link to the project: https://github.com/henrikac/GameOfMattches

Feedback is very welcome :-)