Random module is not working

Monte Carlo sampling is probably the best way to determine our odds of winning, even the engine is using it. Unfortunately, it's useless without randomness, and currently it's not possible to import the random module in Python.
Should we expect a fix or is this intended?

The one implemented in the python starter-bot certainly is not random. It is completely time bound, so you could basically only use it to produce one number each turn. They have been trying to fix the random/numpy issue, but so far unsuccessful. I used someone's Mersenne Twister implementation which is rather slow, but is the best solution I've found at this point.

I posted the code online here http://pastebin.com/KNwd0VWJ, but would again ask the developers to try fixing these libraries again as the time gain is about 2x the random.random() implementation.

If you're willing to set up Cython feel free to use the random replacement I just finished up. It uses C's native rand() function so it should work just as well as Python's builtin random module. In profiling it looks like they perform about the same in Python modules, and it's faster during cython-to-cython method invocations.

I only implemented the functions I needed, pull requests (with tests!) welcome if there's something you'd like to add: https://github.com/gnmerritt/poker/blob/master/pokeher/cython_random.pyx