Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

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?? :) :) :)

Thanks!

3 Answers

Nicolas Hampton
Nicolas Hampton
44,626 Points

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.

https://github.com/nicolasjhampton/mancala

very cool. I will check it out!

Nicolas Hampton
Nicolas Hampton
44,626 Points

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?

Nicolas Hampton
Nicolas Hampton
44,626 Points

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.

Nicolas Hampton
Nicolas Hampton
44,626 Points

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

Nicolas Hampton
Nicolas Hampton
44,626 Points

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