23 lines
768 B
C++
Raw Normal View History

2025-02-20 19:01:27 +00:00
#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;
}