Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  What should one use to make a game like this?  (Read 3305 times)
0 Members and 1 Guest are viewing this topic.
Offline hilmilho

Senior Newbie

« Posted 2006-12-24 14:37:11 »

- Multiplayer board game, turn based, with some basic graphics ( Applet/Java2d ?)
- little chat built in ( yahoo-game-rooms like ? )
- run on browser / web server ( servlet? )
- mouse clicks actions should be seen by others players in good time ( UDP? )
- transmit serialized objects if possible ( http/sockets?? )

as you can see on parenthesis, I'm very confused...  Undecided

I would appreciate your opinions, thanks in advance...
Offline SluX

Junior Devvie

« Reply #1 - Posted 2006-12-24 15:10:18 »

Well u ve pretty much answered all by urself.
Since the game is turn based, i guess that u dont need udp-better rely on reliable services TCP provides( TCP/IP sockets).
Since u ll have those rooms, i gess that u ll have to make some kind of server..
Graphics- i guess that u dont have much experience, so java2D is a very good choice(even for experienced ones;))
And yes it is possible to transmit serialized objects through socket-check out almost any tutorial about serialization and/or basic networking.

Hope i helped a bit.

"Intelligence is the most beautiful gift and the greatest temptation which one life can receive from the gods."Me Cheesy
Play strategic football
Offline hilmilho

Senior Newbie

« Reply #2 - Posted 2006-12-27 13:42:21 »

whats the best way to connect the applet running on user browser to a server on internet?
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mudman

Junior Devvie

Here we go again...

« Reply #3 - Posted 2006-12-28 02:45:52 »

Not sure about the best way:) But if you're asking for the easiest way then the server also be the webserver for the applet, that way you won't have any problems connecting to it (If you want to connect to other servers than the one that served the applet then the applet needs to be signed).
Language-wise you have a range of choices server-side.
If you have full control of the server then just code a java server and connect using tcp sockets.
If the server is a webhotel then you might be able to use PHP or other server-side scripting like ASP/ASP.NET - perhaps (although unlikely) even JSP.
Offline hilmilho

Senior Newbie

« Reply #4 - Posted 2006-12-29 23:31:05 »

ty Smiley
I made some tests with servlets and object serialization... I tought would be easy cause I've made some serialization stuff before... but writing Objects from applet to servlet is a pain in the ass... you get all kind of random stuff, CorruptedStreamException, NullPointer, EOFException... I could make a simple echo test... but when I tried to make some handler thread to receive messages the pain began...
this is more like a hobby to me, so I think I'm putting it down "for now"  Lips Sealed
Pages: [1]
  ignore  |  Print  

EgonOlsen (79 views)
2018-06-10 19:43:48

EgonOlsen (59 views)
2018-06-10 19:43:44

EgonOlsen (78 views)
2018-06-10 19:43:20

DesertCoockie (261 views)
2018-05-13 18:23:11

nelsongames (159 views)
2018-04-24 18:15:36

nelsongames (158 views)
2018-04-24 18:14:32

ivj94 (901 views)
2018-03-24 14:47:39

ivj94 (162 views)
2018-03-24 14:46:31

ivj94 (813 views)
2018-03-24 14:43:53

Solater (177 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!