floty
|
8c61403fb5
|
Switching license from GPL2 to AGPL3.
|
2011-07-03 22:27:36 +00:00 |
|
lotodore
|
9e425136f1
|
Adding new types of random number generators: 1. shuffle a list non-deterministic (not the default shuffle) 2. get random numbers of a range 3. get random numbers of a range, without duplicates (the latest based on floty's idea). Note that the existing random number works quite well, the new approach uses boost::random and is more flexible if other distributions are needed for the AI.
The code is currently disabled due to link problems on debian/ubuntu (boost::random seems to be missing there).
|
2011-02-27 21:54:43 +00:00 |
|
lotodore
|
02518c67b2
|
Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
|
2011-02-11 20:02:08 +00:00 |
|
floty
|
1c5e5767da
|
- exclude bad numbers in getRandNumber (tools.cpp)
- delete warnings in localplayer
|
2008-10-20 09:25:45 +00:00 |
|
floty
|
77a66b310d
|
calcHandsChance
|
2008-10-17 09:48:37 +00:00 |
|
floty
|
9fdd7805da
|
calcCardsChance
|
2008-10-16 09:21:30 +00:00 |
|
doitux
|
d8e70d997d
|
gui cardchancemonitor
|
2008-10-15 19:49:39 +00:00 |
|
floty
|
d3aed3209d
|
calcCardsChance
|
2008-10-15 19:03:55 +00:00 |
|
doitux
|
01048bd7e9
|
next steps implementing cardschance
|
2008-10-14 20:19:37 +00:00 |
|
lotodore
|
d0898ed336
|
Now using openssl on windows instead of ms crypto api. Can't stand all these handles for the crypto api, openssl will be required later anyway. MD5 sums will be used when transfering avatars for efficient caching - avatars are identified by their MD5 sum.
Sorry for making it even harder to compile on windows...
|
2007-09-08 11:00:46 +00:00 |
|
lotodore
|
f886ebda86
|
Removed iostream includes, as they slow down compilation.
|
2007-06-07 19:37:35 +00:00 |
|
lotodore
|
2ce67297ee
|
Tools - random number function is now static. Fixed player number issue with network games (GUI player number needs to be 0), this still requires some work.
|
2007-05-21 19:00:06 +00:00 |
|
lotodore
|
b7790e94ff
|
|
2007-03-02 00:04:18 +00:00 |
|
floty
|
520b22708e
|
better random numbers (RAND_bytes)
|
2007-03-01 22:23:21 +00:00 |
|
doitux
|
1e8152e97c
|
|
2007-01-13 18:55:48 +00:00 |
|