| Author |
Are Game applets slower than console games?
|
Ashish Schottky
Ranch Hand
Joined: Dec 29, 2009
Posts: 93
|
|
Is it true that game applets are slower than console(command-prompt) based games?
|
 |
Chris Hurst
Ranch Hand
Joined: Oct 26, 2003
Posts: 343
|
|
What's your command based app written in ... Java ??
.. and if Java what's its VM arguments ie Client vs Server ;-)
|
"Eagles may soar but weasels don't get sucked into jet engines" SCJP 1.6, SCWCD 1.4, SCJD 1.5,SCBCD 5
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
Chris Hurst wrote:What's your command based app written in ... Java ??
.. and if Java what's its VM arguments ie Client vs Server ;-)
It's more than that. Plus, I think the question needs more details. When you say a console game, do you mean a game launched from the console (full of 3d graphics, music, sounds, etc) or do you mean a text based console game?
|
My Blog | DZone Articles
|
 |
Ashish Schottky
Ranch Hand
Joined: Dec 29, 2009
Posts: 93
|
|
first of all thanks to both of you.
Its a general question based on TEXT games.
Lets take the simplest case of all
I write a TICTACTOE AI in command prompt(with SOPln's to display) and one incorporated in applet(2d graphics),both of them use same algorithms and data structures,
Its not related to sever-client just an ordinary one player game.
|
 |
Gregg Bolinger
Sheriff
Joined: Jul 11, 2001
Posts: 15040
|
|
Ashish Schottky wrote:first of all thanks to both of you.
Its a general question based on TEXT games.
Lets take the simplest case of all
I write a TICTACTOE AI in command prompt(with SOPln's to display) and one incorporated in applet(2d graphics),both of them use same algorithms and data structures,
Its not related to sever-client just an ordinary one player game.
For something like that I can't imagine performance being a factor. There is probably a difference, but negligible. The Applet may take longer to start, due to pulling the data over the internet. But after it starts, should be just as good. That said, you can't run console based applications in an applet. An applet requires some sort of UI be used (AWT or SWING).
|
 |
Ashish Schottky
Ranch Hand
Joined: Dec 29, 2009
Posts: 93
|
|
|
Thank you very much for replying me and clearing my doubt.
|
 |
fred rosenberger
lowercase baba
Bartender
Joined: Oct 02, 2003
Posts: 8428
|
|
|
I'd be willing to bet I could write either to be slower than the other, depending on what I wanted to prove.
|
Never ascribe to malice that which can be adequately explained by stupidity.
|
 |
 |
|
|
subject: Are Game applets slower than console games?
|
|
|