Minor improvements
This commit is contained in:
parent
16e1acc51d
commit
2dd5ef9b99
2 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@
|
|||
#include <iostream>
|
||||
#include <vector>
|
||||
#include <string>
|
||||
#include <random>
|
||||
|
||||
using std::vector;
|
||||
using std::string;
|
||||
|
|
2
main.cpp
2
main.cpp
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue