Research portable Memory game | Исследовать портируемую игру Память
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- #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;
- }
- */
- }
|