Minesweeper / src / Random.h
Random.h
Raw
//
// Created by Priyal Patel on 11/22/21.
//
#include <random>
#ifndef MINESWEEPER_RANDOM_H
#define MINESWEEPER_RANDOM_H


class Random {
    static std::mt19937 random;
    static int x;

public:
    static int numMines(int config_Num);
    static int Int(int min, int max);
    static float Float(float min, float max);
};


#endif //MINESWEEPER_RANDOM_H