Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (794)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (864)
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  
  Board Game on Intranet  (Read 7626 times)
0 Members and 1 Guest are viewing this topic.
Offline macx

Junior Newbie

« Posted 2013-10-14 03:37:24 »

Hello, java developers! Im a 4th year Computer Science Student from the Philippines, Im currently Developing a board game and i think im finished with the game proper. Now I want to extend it that it can be played in an Intranet envirom ment. The point is I dont know where to start in network programming, I need help on it. Some advice or may be codes will help.

Thank you in advance.
Offline philfrei
« Reply #1 - Posted 2013-10-14 04:29:26 »

Do you have any experience with networking via Java? If not, some good background here:

I'll be interested in seeing what folks post as an answer. I'm sure their answers will be more helpful. But no one else has answered yet, and you might find it interesting to poke around with the few things I do know about.

I'm reading an older game programming book by Brackeen (Developing Games in Java), and there is a chapter (chapter 6) on multiplayer. He seems to make a lot of use of JDK 1.4 NIO libraries. The book might be available used, for cheap. I found mine at a local Half-Price books.

I haven't gotten to this chapter yet. Am curious if others think that this approach is still a good one, and what might have taken its place.

I have looked over some code from a friend that made a web-based variant of "Snake"--where the backend uses Java EE Servlets technology. But I don't think Servlets are being used for games very often. The overhead for Servlets is higher than for just adding an NIO layer, both in terms of coding and in what one has to learn in support.

music and music apps:
Offline macx

Junior Newbie

« Reply #2 - Posted 2013-10-14 05:03:28 »

Thanks! uhm could you show me some examples and how it works?? I have read some about java networking but im having a problem in undrstanding it. PLEASE
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Opiop
« Reply #3 - Posted 2013-10-14 10:12:02 »

I'm watching DesignsBeZephyr on YouTube and pretty much stealing his UDP client and server. theChernoProject is also doing networking. I just wrote my first chat program yesterday in about an hour after I googled networking stuff.
Offline cobolfoo

Junior Newbie

« Reply #4 - Posted 2013-10-30 21:51:39 »

A board game do not require a low-latency server, you could develop it with any technology you want.

You only need to implement a basic TCP server. I would start with this if I were you:

You might also want to use something already done for you like NAGA:
Offline marsalcrow

Innocent Bystander

« Reply #5 - Posted 2018-09-04 10:34:37 »

try socket programming
Offline jonjava
« Reply #6 - Posted 2018-09-04 12:06:59 »

Pages: [1]
  ignore  |  Print  

hadezbladez (3129 views)
2018-11-16 13:46:03

hadezbladez (1139 views)
2018-11-16 13:41:33

hadezbladez (3096 views)
2018-11-16 13:35:35

hadezbladez (620 views)
2018-11-16 13:32:03

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

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

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

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

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

nelsongames (4603 views)
2018-04-24 18:14:32
Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08

Deployment and Packaging
by gouessej
2018-08-22 08:03:45 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!