Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (788)
Games in Android Showcase (234)
games submitted by our members
Games in WIP (863)
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  
  Help needed with online Yahtzee  (Read 3057 times)
0 Members and 1 Guest are viewing this topic.
Offline Farcewipe

Junior Newbie

« Posted 2012-02-04 23:16:06 »

I am trying to develop an online Yahtzee game capable of having at least 4 players at once. I have no problems with the logic and implementation of the game but I am just stuck as to the best way to get it online. Either using applets or just applications. Would i have to setup a server somewhere or could the first player just act as a host?

Any ideas much appreciated!
Offline GabrielBailey74
« Reply #1 - Posted 2012-02-04 23:18:09 »

server/client(s) (jars).
Just connect them to ONE server, (yours).
Could be hosted locally or via another hoster, best be with you so that changes/constants can be changed.
(Wouldn't want your whole game to be controlled by the first user).

Offline Farcewipe

Junior Newbie

« Reply #2 - Posted 2012-02-04 23:26:21 »

thats what i was thinking. Would everyone have to forward ports on routers and such? I could do this easily over a local network just unsure of how to get the data across the internet.
Thank you for your quick response!
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Mike

« JGO Spiffy Duke »

Medals: 149
Projects: 1
Exp: 6 years

Java guru wannabe

« Reply #3 - Posted 2012-02-04 23:28:41 »

You can have one user act as a server and make sure they open their firewall if it just is a program for a few friends. Due to cheating and so on that won't work if you aim bigger though. If you want to make it more professional I'd suggest placing your own server somewhere (can be your own computer and let people connect to it using your ip, much cheaper than renting a server).

As for applet vs application, why not both? Wink It's easy enough to convert the one to the other and everyone has their own preference, (Applets ftw! Wink).


My current game, Minecraft meets Farmville and goes online Smiley
State of Fortune | Discussion thread @ JGO
Offline Farcewipe

Junior Newbie

« Reply #4 - Posted 2012-02-04 23:50:29 »

Hmm there's some good ideas there. Thank you very much, will keep you posted as I go!
Offline GabrielBailey74
« Reply #5 - Posted 2012-02-05 00:44:14 », a DNS service, you could port forward with, use to use it when I ran a client/server, just connect all the clients ip's to the DNS (port forwarded on your machine/server).

Pages: [1]
  ignore  |  Print  

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

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

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

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

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

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

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

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

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

nelsongames (3908 views)
2018-04-24 18:14:32
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

Deployment and Packaging
by philfrei
2018-08-20 02:33:38

Deployment and Packaging
by philfrei
2018-08-20 02:29:55

Deployment and Packaging
by philfrei
2018-08-19 23:56:20 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!