Could anyone please provide me
the url or directly the source code of any simple java text-based game?
thanks
text-based game
Page 1 of 18 Replies - 5352 Views - Last Post: 21 April 2010 - 02:24 PM
Replies To: text-based game
#2
Re: text-based game
Posted 14 February 2007 - 03:02 PM
that is very vague to say the least, try being more specific, also this is a site for programming help, not direct solutions, to teach you to code better.
#3
Re: text-based game
Posted 14 February 2007 - 03:09 PM
im not asking for a solution, my request might sounded a bit general, but general is also the answer im seeking; im just trying to understand how text-based java games work thus the request for ANY game's source code.
cheers
cheers
#4
Re: text-based game
Posted 15 February 2007 - 06:11 AM
a good text based game doesn't really exist, but i see what your after.
Basically it's a 4 step process:
printf - to print some data for the user to read / make decisions on
scanner - get data / answer in from user
algorithm - determine what to do
printf - display answer
and repeat, lol
It is a difficult task to find java games which are text based, they are not a very popular thing. I have a midterm in a few hours, but i'll go through my hoards of saved code and see if i can find something you can use, even if it's not exactly a game
Basically it's a 4 step process:
printf - to print some data for the user to read / make decisions on
scanner - get data / answer in from user
algorithm - determine what to do
printf - display answer
and repeat, lol
It is a difficult task to find java games which are text based, they are not a very popular thing. I have a midterm in a few hours, but i'll go through my hoards of saved code and see if i can find something you can use, even if it's not exactly a game
#5
Re: text-based game
Posted 15 February 2007 - 02:31 PM
heh good luck in ur exam, i'd be grateful for the code if u have any
#6
Re: text-based game
Posted 08 April 2008 - 09:21 AM
So while I doubt the original poster will ever look at this.
I recently got into making my own text based game.
I found this and it was quite helpful.
http://www.javacoffe...ture/index.html
Gave me tons of ideas : )
But then again so did Zork....
http://www.infocom-i.../downloads.html
Not one programmer should have never played Zork.
Even if you were born 10 years after its creation, it is still amazing : )
I recently got into making my own text based game.
I found this and it was quite helpful.
http://www.javacoffe...ture/index.html
Gave me tons of ideas : )
But then again so did Zork....
http://www.infocom-i.../downloads.html
Not one programmer should have never played Zork.
Even if you were born 10 years after its creation, it is still amazing : )
#7
Re: text-based game
Posted 08 April 2008 - 04:55 PM
#8 Guest_javanewbie*
#9
Re: text-based game
Posted 21 April 2010 - 02:24 PM
We don't give out code here. If you need help with code YOU wrote we'd be more than happy to help you if you start your own topic, not necroing old ones.
Closed.
Closed.
Page 1 of 1
|
|

New Topic/Question
This topic is locked




MultiQuote









|