Hello!
I started programming Java last December and have been working on a text-based roleplaying game (Like a MUD, except it's single player) since around May.
Today I finished what I will consider the final version for this project, so I figured I'd share it with you guys.
I didn't start out with any grand design and I was learning as I went with this project, so there are probably a lot of places in the code you will think "Why the hell did he do like that?". But I've learned a lot of things from this, especially when it comes to object orientation, so that's completely fine by me. Now I can truly see how important it is to make a proper design from the very beginning, as it's complicated things later on in this project. For example, I had to remake my entire Character class in order to serialize it to be able to save the game, which makes the code look a whole lot more messy than before. If I had designed the game with saving in mind from the start, it would've been much less painful.
Now to the game.
It's basically your average text game with commands that will take you between rooms, kill NPCs, talk to NPCs, interact with objects and use items from your inventory etc. It also comes with a handy ingame compass that shows the exits of every room in a very easy to understand way. You can become stronger by fighting things and doing quests and there is a main story to follow. Also it's wrapped in a GUI console which enabled me to launch the game directly without having to go through the Windows console or a bat-file. This GUI console also makes it possible to use colored text, though it's not used much. Estimated play time is ~3-5 hours.
You can download the game itself here: http://robinsuu.com/uploads/legend1.2.rar (Contains an executable for Windows and some help files)
And the source code here: http://robinsuu.com/uploads/legend1.2_source.rar
I also included maps in the game pack that I created with an online tool for roleplaying mapping.
I'd love to hear some feedback about the source code and/or the game itself.