[Kde-games-devel] Two questions about kbattleship

Rob Kaper cap at capsi.com
Tue Aug 5 08:44:01 CEST 2003


On Tue, Aug 05, 2003 at 07:32:09AM +0200, Erik Sigra wrote:
> > Create an algorithem that will generate a string from the positions of the
> > peices, run the string through MD5, send the hash to the other client,
> > start the game.
> > At the end of the game send the positions of all the ships, run the
> > algorithem put it through MD5 and see if the hash from the begining of the
> > game matches the one at the end...

Had a nice reply how this could still be crunched, but then realized the
average user will probably not sniff the network for KBattleship, let alone
crunch all possible placements and their md5sums.

Rob
-- 
Rob Kaper     | "They that can give up essential liberty to obtain a little
cap at capsi.com | temporary safety deserve neither liberty nor safety."
www.capsi.com | - Benjamin Franklin, Historical Review of Pennsylvania, 1759
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20030805/57ebd8d1/attachment.bin


More information about the kde-games-devel mailing list