*
The moose likes Game Development and the fly likes Are Game applets slower than console games? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Game Development
Bookmark "Are Game applets slower than console games?" Watch "Are Game applets slower than console games?" New topic
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: 416
    
    2

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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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?


GenRocket - Experts at Building Test Data
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
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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: 11256
    
  16

I'd be willing to bet I could write either to be slower than the other, depending on what I wanted to prove.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Are Game applets slower than console games?