diff --git a/cpp-game-vs/game.cpp b/cpp-game-vs/game.cpp index 448dc56..bea5e8e 100644 --- a/cpp-game-vs/game.cpp +++ b/cpp-game-vs/game.cpp @@ -51,14 +51,6 @@ Rule::Choice Rule::GameLogic::operator()(const Rule::Choice lhs, const Rule::Cho // Not handling error for same symbol in rule if (lhs == rhs) throw std::domain_error("Do not handle same choice of symbol"); - /* - * • Fist equals rock - * • Open hand equals paper - * • Showing the index and middle finger equals scissors. - * • paper beats (wraps) rock - * • rock beats (blunts) scissors - * • scissors beats (cuts) paper. - */ std::map, Rule::Choice> rule; rule[std::make_tuple(Rule::Choice::ROCK, Rule::Choice::PAPER)] = Rule::Choice::PAPER; rule[std::make_tuple(Rule::Choice::PAPER, Rule::Choice::ROCK)] = Rule::Choice::PAPER; diff --git a/cpp-game-vs/main.cpp b/cpp-game-vs/main.cpp index 6750a52..1030e38 100644 --- a/cpp-game-vs/main.cpp +++ b/cpp-game-vs/main.cpp @@ -13,7 +13,6 @@ int main() mypointer = NULL; *mypointer = 30; - wchar_t w = L'Â'; double velocity; char x = w;