This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include "FBullCowGame.h" | |
#include <map> | |
// to make syntax Unreal friendly | |
#define TMap std::map | |
using int32 = int; | |
FBullCowGame::FBullCowGame() { Reset();} //defult constructor | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*The game logic (no view code or user interaction) | |
The game is a simple guess the word game based on Mastermind | |
*/ | |
#pragma once | |
#include <string> | |
//to make syntax Unreal friendly | |
using int32 = int; | |
using FString = std::string; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*This is the console executable makes use of BullCow class | |
This acts as the view in a MVC pattern, and is responisble for all | |
users interaction.For game logic see the FBullCowGame. | |
*/ | |
#pragma once | |
#include <iostream> | |
#include <string> | |
#include "FBullCowGame.h" |