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#

Benneth Paredis
Benneth Paredis
4,597 Points

How do i make a game like Solitaire written in C#

I would like to make a game like Solitaire or Hearts in C# but i don't know how to get started and how to make visual representations of cards.

1 Answer

Steven Parker
Steven Parker
231,122 Points

Unless you also have ambitions as a graphic designer, I wouldn't re-invent card images, they're easy enough to find. Here's an example I found with a quick search (note: site link is not an endorsement): Free Playing Card Images.

But you might need some additional information on using them, perhaps this would be a start: Working with Images, Bitmaps, Icons, and Metafiles.