Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (487)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (553)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Game Development / Networking & Multiplayer / Re: Getting started online on: 2009-12-11 18:02:58
Thank you much Nate!

I will definitely be looking into KryoNet.  Sounds pretty good.

It would be nice to have some of those additional features. Especially the lobby in time.

A couple more things:

So when going about this, which should I start with: the client or the server?  I'm thinking the server?

How will I test this? I don't happen to have 5-6 computers laying around.  I do have 2. Can I connect multiple clients from the same machine? (Something I would want to eliminate for distribution) Heck could I even run a client on the same computer as the server?

Also, I'm getting a bit ahead of myself, but what about having a user log in?  I mean for now, in the client, I can just have it ask for a name so that it can be displayed and people know who's who but in the event this becomes something more, how would KryoNet work with users logging in with a user name and password?  I guess I don't need to know how so much as if I go with KryoNet, is this still a possibilty?
2  Game Development / Networking & Multiplayer / Re: Getting started online on: 2009-12-10 02:05:41
Thanks,

I have a general idea of how I could do this with sockets now.  I have one more question.  Since it is turn based, will I need to make repeated connections to each client per turn? Or can I connect to each client once in the beginning and that is it?
I would like to include a simple chat also in the application.

My current idea:
1) I'm thinking each client connects to the server at the beginning.  It accepts chat lines from everyone and displays them to everyone.  And it only accepts play orders from the client who's turn it is.

Does this sound like the right idea?

So if input comes in from a client and it begins with a special chat character, display it in everyones chat window.  and if input comes in from the client who's turn it is and the input starts with a special play character, make the move and output the results to the clients. so it would ignore play requests from the other clients.



2) Or should I be making one connection from everyone to a chat, and a connection that connects only to the player who's turn it is?  So essentially everyone has one connection open, and only the person who's turn it is has the play connection open?
3  Game Development / Networking & Multiplayer / Getting started online on: 2009-12-09 01:51:15
So, I have been working on a card game and it has been going well. 
It is a 5 player game and it currently only runs on a single machine which isn't much fun.

My reason for writing it is that my friends and I used to have card night once a week.  Now, we're all off to college and we would like to play together once a week online.

Now I'm ready to take it online so that we can all play together.  The problem is, I'm not sure exactly how to go about this step.  I've done very little networking work with Java and have been looking on google for a simple multiplayer card game and haven't found a good tutorial.

So, what would be the best way to do something like this?
Can anyone point me in the direction of a good tutorial?  (The game doesn't need flashy graphics or anything.  Just simple cards)
4  Game Development / Game Play & Game Design / American football simulation on: 2009-12-01 17:49:52
I'm working on developing an American Football simulation engine. Right now, everything is still being designed on paper.  So far, I can see easily how I can create a team, and create individual players with their ratings. I can even see creating the stadiums and weather conditions to affect how they play.  My next big hurdle is figuring out how to simulate playing a game. 

I have been looking around for a tutorial but can't find one for this type of thing.

The only way I can think of to start this, is to create a coach class which would make all of the in game decisions based on how the game is going. If I do that, I would pretty much need to create plays, and a playbook.
This seems like an awful lot to generate some numbers. I feel like maybe I am over thinking this?  I mean games like Tecmo Super Bowl III for the SNES had decent season simulation so I feel like there must be an easier way?

Any help pointing me in the right direction would be greatly appreciated!

Thanks.
Pages: [1]
 

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

The first screenshot will be displayed as a thumbnail.

TehJavaDev (13 views)
2014-08-28 18:26:30

CopyableCougar4 (25 views)
2014-08-22 19:31:30

atombrot (38 views)
2014-08-19 09:29:53

Tekkerue (31 views)
2014-08-16 06:45:27

Tekkerue (31 views)
2014-08-16 06:22:17

Tekkerue (19 views)
2014-08-16 06:20:21

Tekkerue (29 views)
2014-08-16 06:12:11

Rayexar (66 views)
2014-08-11 02:49:23

BurntPizza (42 views)
2014-08-09 21:09:32

BurntPizza (34 views)
2014-08-08 02:01:56
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!