Java-Gaming.org    
Featured games (91)
games approved by the League of Dukes
Games in Showcase (578)
games submitted by our members
Games in WIP (499)
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 2537 times)
0 Members and 1 Guest are viewing this topic.
Offline hilmilho

Senior Newbie





« Posted 2006-12-24 15: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 Member





« Reply #1 - Posted 2006-12-24 16: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 14: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 Member




Here we go again...


« Reply #3 - Posted 2006-12-28 03: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-30 00: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  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

xsi3rr4x (29 views)
2014-04-15 18:08:23

BurntPizza (26 views)
2014-04-15 03:46:01

UprightPath (41 views)
2014-04-14 17:39:50

UprightPath (23 views)
2014-04-14 17:35:47

Porlus (40 views)
2014-04-14 15:48:38

tom_mai78101 (62 views)
2014-04-10 04:04:31

BurntPizza (122 views)
2014-04-08 23:06:04

tom_mai78101 (221 views)
2014-04-05 13:34:39

trollwarrior1 (188 views)
2014-04-04 12:06:45

CJLetsGame (197 views)
2014-04-01 02:16:10
List of Learning Resources
by SHC
2014-04-18 03:17:39

List of Learning Resources
by Longarmx
2014-04-08 03:14:44

Good Examples
by matheus23
2014-04-05 13:51:37

Good Examples
by Grunnt
2014-04-03 15:48:46

Good Examples
by Grunnt
2014-04-03 15:48:37

Good Examples
by matheus23
2014-04-01 18:40:51

Good Examples
by matheus23
2014-04-01 18:40:34

Anonymous/Local/Inner class gotchas
by Roquen
2014-03-11 15:22:30
java-gaming.org 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‑gaming.org
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!