the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 23 lines 405 B view raw
1#pragma once 2 3class Random 4{ 5private: 6 __int64 seed; 7 bool haveNextNextGaussian; 8 double nextNextGaussian; 9protected: 10 int next(int bits); 11public: 12 Random(); 13 Random(__int64 seed); 14 void setSeed(__int64 s); 15 void nextBytes(byte *bytes, unsigned int count); 16 double nextDouble(); 17 double nextGaussian(); 18 int nextInt(); 19 int nextInt(int to); 20 float nextFloat(); 21 __int64 nextLong(); 22 bool nextBoolean(); 23};