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


Fun Java code to excite me about learning

I have begun to learn Java through courses on Treehouse.

This is NOT the first time I have "begun to learn Java."

In the past, I have fallen asleep with boredom as I moved from one beginner project to the next.

This time, I thought I might try looking at some Java code that does something fun (like the hangman game), and see if I can understand how it works. Seeing something Intermediate or Advanced might be the motivation I need to stay committed to actually learning the Java language this time around.

I have installed IntelliJ IDEA. I have a GitHub account. Are there some projects I can run on my own computer and get excited about learning this language? Anybody got something they would like to show off?? :) :) :)


3 Answers

I'm working on recreating Mancala, an African bead game that uses fractal number patterns. If you could let me know how readable the code is and any thoughts on the separation of concerns in the code, I'd be grateful. Its my first programming project since high school.


very cool. I will check it out!

Hey, and thanks for that post about audio/visual resources, going to check that out later!

As far as I can tell, Nicolas, there isn't a way for me to play this on my computer. Can I actually run your code, or is it not ready yet?

You should be able to run it from the command line by compiling and running Game.java. Make sure to keep the file directory structure so the compiler can find the models.

I don't see Game.java in the github repository. What am I missing? I only see the models folder, with Cup.java, CupBoard.java, and Mancala.java inside.

Github takes some getting used to. The most recent branch is makeMoveBreakDown. All the current files are there.

Github takes some getting used to. The most recent branch is makeMoveBreakDown. All the current files are there.