23 lines
534 B
C++
23 lines
534 B
C++
//
|
|
// Created by DH10MBO on 13.11.2024.
|
|
//
|
|
|
|
#ifndef MASTERMIND_H
|
|
#define MASTERMIND_H
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
void Aufg5Main();
|
|
|
|
std::vector<std::string> generateSecretCode(int size, int optionsPerDigit);
|
|
|
|
std::vector<std::string> getCodeGuessFromConsole();
|
|
|
|
std::vector<std::string> convertStringToGuess(std::string &guessAsString);
|
|
|
|
int countMatches(std::vector<std::string> &v1, std::vector<std::string> &v2);
|
|
|
|
int countPefectMatches(std::vector<std::string> &v1, std::vector<std::string> &v2);
|
|
|
|
#endif //MASTERMIND_H
|