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

Ruby

Ed Charbeneau
Ed Charbeneau
1,346 Points

Treehouse Poker: A Rails and TDD demo

I wanted to share a project I created to help me practice TDD with Ruby/Rails. The project is a poker game which deals cards to 5 players and scores the winning hand.

I created a custom Treehouse card skins which are also included in the project. The source Photoshop (PSD) files are high res, so you can print them out on business card stock and hash out your TDD in the physical world.

https://github.com/EdCharbeneau/CardGame

Fork, share, and enjoy!

Note: I'm not affiliated with Treehouse, this is a personal project I'm sharing. Please direct any questions to me.

Ed Charbeneau
Ed Charbeneau
1,346 Points

It should work, can you be more specific about the problem?

John Steer-Fowler
John Steer-Fowler
Courses Plus Student 11,734 Points

I think James means is there a working demo we can view without running the script on our local machine to see what it looks like.

Ed Charbeneau
Ed Charbeneau
1,346 Points

Ah, my mistake.

I'm sorry, I don't have a live working demo available right now. You will need to run the project to view it.

John Steer-Fowler
John Steer-Fowler
Courses Plus Student 11,734 Points

Okay no problem. Have you looked at Heroku? They have a good free plan that will allow you to host your project as a working demo for Treehouse members to checkout :D

Good work looks like a good project!

Ed Charbeneau
Ed Charbeneau
1,346 Points

Thanks.

I'll check out Heroku. I was having ssh problems with Heroku before and never got it resolved. I'll try again when I get some spare time.

To be honest, there's not a lot to learn from interacting with the application itself. I would encourage people to fork the repo and explore the code & commits. Feedback is appreciated, but not expected.

Best regards, Ed

1 Answer