Page 1 of 1

Java Text - Based Game

Posted: Mon Feb 14, 2011 3:34 pm
by sp11k3t3ht3rd
Alright, I'm teaching my self Java and I decided to make a text based game. Theres not much to it right now. It's a mining game as of right now. You can save and load your inventory but not your gold. Pickaxe's have durability (somewhat). There is a shop and different types of pickaxes(though they have no difference as of now). There is an ore system for getting a random ore each time you go mining. If you want to first video please note that I have changed the code. There isn't an ArrayList with 100 items anymore :oops: . I just use a random number and assign values to the string based on the number. I am also currently going through the process of documenting my code as we speak. I'll probably make a new video soon. I really hope that my future will involve programming in any way. I'm 15 right now, turning 16 in a couple months and I really enjoy programming. Well anyway, here are the videos:

http://www.youtube.com/watch?v=ZpzHUzj4GVw 1/19/11
http://www.youtube.com/watch?v=tTpy7QfXwOA 1/20/11
http://www.youtube.com/watch?v=MPl7f6IBXSU 1/21/11
http://www.youtube.com/watch?v=iu-XITSQwQo 1/23/11
http://www.youtube.com/watch?v=Pjk1NE1i6wc 1/24/11
http://www.youtube.com/watch?v=k0x964A7QGM 2/9/11

*NEW*

http://www.youtube.com/watch?v=HtgEkFkFb6E 2/15/11
http://www.youtube.com/watch?v=U48f0wqXpqA 2/15/11

Download link: http://www.megaupload.com/?d=NACIYDA4

Re: Java Text - Based Game

Posted: Mon Feb 14, 2011 4:22 pm
by k1net1k
i didnt watch all the videos properly, but god damn i cant believe you were using notepad in the first one. and upgraded to notepad++ in the last.

i'm not one for text games, but from what i saw you are doing pretty well so far :)

sorry i dont have anything creative to help you with

Re: Java Text - Based Game

Posted: Mon Feb 14, 2011 4:36 pm
by GroundUpEngine
Props on upgrading to notepad++ FTW :)

Last video: The durability goes up? shouldn't it start at say 5000, then go down and when it reaches 0 the mining pick is destroyed :P

Re: Java Text - Based Game

Posted: Mon Feb 14, 2011 4:57 pm
by sp11k3t3ht3rd
Hmmmm... That makes sense! Haha :lol: Thanks guys! :)

Re: Java Text - Based Game

Posted: Tue Feb 15, 2011 4:39 pm
by sp11k3t3ht3rd
I added a new video today: http://www.youtube.com/watch?v=U48f0wqXpqA. I talk in this one going over the changes and stuff. I'll upload part 2 either later tonight or tomorrow. I was talking for 22 minutes so I had to split it up.