Re: Multiplayer game

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>



-- 
Khalifa ROUIS
rouis.khalifa@xxxxxxxxx
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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Assembler]     [Git]     [Kernel List]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [C Programming]     [Yosemite Campsites]     [Yosemite News]     [GCC Help]

  Powered by Linux