Click here to Skip to main content
14,826,929 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
I have an idea of creating an online game(probably a 4player game). But I dont know how to connect in a network and play. That is, if a player makes a move, then how to reflect that to other users. Somebody help me on it. MAy be suggest some articles on how to connect in a network and make it work.

Thanks,
Kalai
Posted
Updated 10-Oct-12 23:50pm
v3
Comments
bbirajdar 11-Oct-12 6:07am
   
You need to add 'adobe flash' as a tag to this question
TorstenH. 11-Oct-12 6:38am
   
why? He didn't mention to use Flash for that.
bbirajdar 11-Oct-12 7:24am
   
Its my suggestion..
TorstenH. 11-Oct-12 7:35am
   
it's possible yes. But that would be a complete different thing.

Adobe Flex is available, but the IDE plugin for that has to be paid.
Without that it makes not much sense.

What the Questioner mostly needs is a project plan. But that is seldom involved in such questions.
bbirajdar 11-Oct-12 8:45am
   
Let the OP comment on this.. I don't care whether you agree with my suggestion or not....If you want to waste your time, then go somewhere else...
kalai91 12-Oct-12 1:56am
   
hello everyone!!!
I already have an idea of how to create the game. But all the 4 players should play in the same system!!!. What I don't know is, how to take it over the Internet. that is, each player should play through their own system over the netwok... :-) I have no idea on that!
Somebody help me on it.
TorstenH. 12-Oct-12 2:57am
   
I)'ll leave this to you - seems like you're the expert on that.
kalai91 12-Oct-12 5:10am
   
ha ha.. I'm Not an expert really.. But what I need urgently is that part..
TorstenH. 12-Oct-12 5:42am
   
aspnet_regiis will help you. He knows everything.

i hope this could help you http://www.usr.com/education/net13a.asp[^] and you can also take help from some web development companies.
   
Comments
TorstenH. 11-Oct-12 6:55am
   
great link! +5!
Now even I can connect.
The Java Tutorial - Introduction to Web Services[^]

I also recommend to buy a book on Java EE.

EDIT: I'm reactivating this as the expert didn't come around with a solution on how to connect 2 Java clients. Also doesn't it seem like he's sending 200$ for the questioner to buy the IDE and rewrite his code in Adobe Flex.

It can be done as a basic Java EE task. Please check the tutorial on how to create a webservice and how to connect your clients.
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900