Minor improvements

This commit is contained in:
Matúš Púll 2024-12-26 21:19:57 +01:00
parent 16e1acc51d
commit 2dd5ef9b99
2 changed files with 1 additions and 2 deletions

View file

@ -2,7 +2,6 @@
#include <iostream>
#include <vector>
#include <string>
#include <random>
using std::vector;
using std::string;

View file

@ -18,7 +18,7 @@ int main(int argc, char* argv[]) {
int N = stoi(get_input("-n", args, "Length of sequence", "5"));
int M = stoi(get_input("-m", args, "Number of colors", "8"));
string player = get_input("-p", args, string("Who plays [")+HUMAN+"/"+BOT+"]", "bot");
string gen = player == HUMAN ? RANDOM : get_input("-g", args, "Who generates the seque", RANDOM);
string gen = player == HUMAN ? RANDOM : get_input("-g", args, "Who generates the sequence", RANDOM);
bool human_player = player == HUMAN;
// Generate the sequence