[project1dev] Re: networking pirate dice woes

  • From: Alan Wolfe <alan.wolfe@xxxxxxxxx>
  • To: project1dev@xxxxxxxxxxxxx
  • Date: Mon, 22 Feb 2010 15:08:08 -0800

Disclaimer:  no security is perfect, we just want to be harder to break than
is worth while.


We do have a server, but right now it just does message broadcasting and
login authentication.

What I think we need is some way to tell the server "Hey server, generate a
random number between X and Y and tell everybody what the answer was".

That way, the host could tell the server to roll 3 dice for each player and
the server (a neutral 3rd party) would be able to generate the numbers.

Everybody in the room should be able to hear the answer cause if only the
host hears the answer he could lie about what the server said, but this way
the server is the authority.

However, since everyone hears the random numbers, someone could make a
program to show what dice other people had (this is like wall hacking :P)

so yeah, i'm still thinking over what the best way might be


On Mon, Feb 22, 2010 at 2:59 PM, Nick Klotz <roracsenshi@xxxxxxxxx> wrote:

> We need a server!
>

Other related posts: