|
#include "deck.hpp"
|
|
#include "game.hpp"
|
|
#include <iostream>
|
|
#include <chrono>
|
|
#include <string>
|
|
#include "card.hpp"
|
|
#include "simulate.hpp"
|
|
|
|
int main()
|
|
{
|
|
std::string cardString="CA,DA";
|
|
while(true) {
|
|
std::cout << "Write cards. E.g. S6,DA: ";
|
|
std::getline(std::cin, cardString);
|
|
int times = 3000;
|
|
bool silent = false;
|
|
std::cout << simulate(cardString,times,2, silent) << "%" << " with two players in the flop." << std::endl << std::endl;
|
|
std::cout << simulate(cardString,times,3, silent) << "%" << " with three players in the flop." << std::endl << std::endl;
|
|
std::cout << simulate(cardString,times,5, silent) << "%" << " with five players in the flop." << std::endl << std::endl;
|
|
}
|
|
return 0;
|
|
}
|