Research portable Memory game | Исследовать портируемую игру Память
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #include <iostream>
- #include <string>
- #include <vector>
- #include "main.h"
- #include "memory_Context.h"
-
- int main() {
- std::cout
- << memory_test_detectMismatchedItems()
- << std::endl
- << memory_test_detectMismatchedItems_itemTwice()
- << std::endl
- << memory_test_detectVictory()
- << std::endl
- << memory_test_generateConstPlayfield()
- << std::endl
- << memory_test_hideMatchingItems()
- << std::endl
- << memory_test_selectItem_1x()
- << std::endl
- << memory_test_selectItem_2x()
- << std::endl
- << memory_test_selectItem_3x()
- << std::endl
- ;
-
- /*
- std::cout
- << cli_test_greetUser()
- << std::endl
- << cli_test_showHelp_h()
- << std::endl
- << cli_test_showHelp_help()
- << std::endl
- ;
-
- auto c = shell_createContext();
- c.cCLI = cli_createContext();
- c = shell_launch(c);
- std::cout << c.output << std::endl;
-
- while (true) {
- std::string line;
- getline(std::cin, line);
- c.input = line;
- c = shell_processInput(c);
- if (c.exit) {
- break;
- }
- std::cout << c.output << std::endl;
- }
- */
- }
|