Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Are Game applets slower than console games?

 
Ashish Schottky
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it true that game applets are slower than console(command-prompt) based games?
 
Chris Hurst
Ranch Hand
Posts: 443
3
C++ Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your command based app written in ... Java ??

.. and if Java what's its VM arguments ie Client vs Server ;-)
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ashish Schottky
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 93
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much for replying me and clearing my doubt.
 
fred rosenberger
lowercase baba
Bartender
Posts: 12183
34
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd be willing to bet I could write either to be slower than the other, depending on what I wanted to prove.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic