Matthieu Fertré a écrit :
>>  One thing I have noticed is that RAND_MAX is defined 
>> differently on Windows (MSVC) and Linux. This would affect a lot of 
>> things in RandomSync I believe, and might explain some bugs.
>>
>> kyle
>>   
> 
> Method double RandomSync::GetDouble() must return a number between 0.0 
> and 1.0, and this method uses RAND_MAX so if RAND_MAX is different on 
> Linux and on Windows, the result should be that it can return a number 
> outside of this limit!!!
> 
> As you can see in RandomSync, in fact all public methods Get* depend 
> from RAND_MAX !!

Network game is now able to start, but there are a number of bugs making
it a bit unplayable:
1) over the 3 heterogeneous network games I did, a player always landed
on a mine; not unplayable, but strangely repetitive
2) After first shot, end of turn does not seem to be seen either by the
client or the network; the game ends there
3) When changing the number of players from the default 6 to 4, the
client would always crash

This is just feedback, not yet bug report for lack of time to
investigate more.

-- 
Best regards,
Kurosu

_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à