Mono produces different random numbers compared to .net. This means my game will deal different cards for the same "play phrase" depending on the framework running. This is bad since the high score board and Facebook interface sends challenges based on play phrases. The next game upgrade will include the random number generator below in order to fix this problem.
The Mersenne Twister code here is NOT part of the Bimixual library since I had nothing to do
with writing it. But I am providing a copy of it in a test project so that you can use it and see its benefits.
The benefit being that random numbers generated with it will be the same between .net and Mono when provided
with the same seed. See the unit tests provided.
Below is the copyright notice from the author
/* C# Version Copyright (C) 2001-2004 Akihilo Kramot (Takel). */ /* C# porting from a C-program for MT19937, originaly coded by */ /* Takuji Nishimura, considering the suggestions by */ /* Topher Cooper and Marc Rieffel in July-Aug. 1997. */ /* This library is free software under the Artistic license: */ /* */ /* You can find the original C-program at */ /* http://www.math.keio.ac.jp/~matumoto/mt.html */ /* */