From: Khalifa Rouis <rouis.khalifa@gmail.com>
To: iliali16 <iliali16@gmail.com>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: Multiplayer game
Date: Tue, 23 Feb 2010 19:11:28 +0100 [thread overview]
Message-ID: <8f760ca11002231011p649cda4cib80243bd287884ec@mail.gmail.com> (raw)
In-Reply-To: <27707442.post@talk.nabble.com>
Hi,
This is a taught situation you have here ...
Well, IMHO, you'll need sockets no matter what design/implementation
you think of. So you probably misunderstood the requirements. (they
probably prohibit the use of a certain type of sockets or protocols,
...)
About the atomic movements, one way would be considering critical
sections in your code and using some synchronization algorithms
(dining philosophers problem).
Hope this will help and good luck with your assignment
On 23 February 2010 18:50, iliali16 <iliali16@gmail.com> wrote:
>
> Hi Guys I am currently developing a multiplayer game for my assignment now I
> have problem since I am not a good C programmer and I am trying to develop a
> game which has to be multiplayer and each player should be able to access a
> map and move around on it and be able to see the other players moving as
> well. But how would I make them connect to the server since it will be
> remote and I can't make use of sockets (these are the requirments).Also how
> can I make the movements of each player atomic since I don't want the system
> to interupt one of the player and when it allocates the CPU back to it the
> other players have already been moved when the first player had to move
> before them. Thanks for any ideas since I want to do my proper design then
> implement. Thanks
> --
> View this message in context: http://old.nabble.com/Multiplayer-game-tp27707442p27707442.html
> Sent from the linux-c-programming mailing list archive at Nabble.com.
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
--
Khalifa ROUIS
rouis.khalifa@gmail.com
http://pagesperso.univ-brest.fr/~e20603429/
--
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-02-23 18:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 17:50 Multiplayer game iliali16
2010-02-23 18:11 ` Khalifa Rouis [this message]
2010-02-23 20:33 ` ern0
2010-02-23 22:58 ` iliali16
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8f760ca11002231011p649cda4cib80243bd287884ec@mail.gmail.com \
--to=rouis.khalifa@gmail.com \
--cc=iliali16@gmail.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).