├── .editorconfig ├── .gitignore ├── GameLogic ├── App.config ├── Architecture │ ├── Building.cs │ ├── BuildingConfig.cs │ ├── BuildingType.cs │ ├── Factory.cs │ ├── Module.cs │ ├── ModuleConfig.cs │ ├── ModuleType.cs │ ├── Room.cs │ └── Ship.cs ├── Command.cs ├── Commands │ ├── BuildingConstruct.cs │ ├── ConstructionProgress.cs │ ├── CycleProgress.cs │ ├── ModuleConstruct.cs │ ├── NextTurn.cs │ ├── NextTurnCount.cs │ └── Pay.cs ├── Core.cs ├── GameLogic.csproj ├── GameLogic.sln ├── Player │ ├── Bank.cs │ └── ResourceType.cs ├── Progression.cs ├── Properties │ └── AssemblyInfo.cs ├── TimeWarp.cs └── Turns.cs ├── LogicTests ├── Architecture.cs ├── Cycle.cs ├── Init.cs ├── LogicTests.csproj ├── LogicTests.sln ├── Player.cs ├── Properties │ └── AssemblyInfo.cs └── Turns.cs └── README.md /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/.gitignore -------------------------------------------------------------------------------- /GameLogic/App.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/App.config -------------------------------------------------------------------------------- /GameLogic/Architecture/Building.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/Building.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/BuildingConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/BuildingConfig.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/BuildingType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/BuildingType.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/Factory.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/Factory.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/Module.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/Module.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/ModuleConfig.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/ModuleConfig.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/ModuleType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/ModuleType.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/Room.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/Room.cs -------------------------------------------------------------------------------- /GameLogic/Architecture/Ship.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Architecture/Ship.cs -------------------------------------------------------------------------------- /GameLogic/Command.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Command.cs -------------------------------------------------------------------------------- /GameLogic/Commands/BuildingConstruct.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/BuildingConstruct.cs -------------------------------------------------------------------------------- /GameLogic/Commands/ConstructionProgress.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/ConstructionProgress.cs -------------------------------------------------------------------------------- /GameLogic/Commands/CycleProgress.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/CycleProgress.cs -------------------------------------------------------------------------------- /GameLogic/Commands/ModuleConstruct.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/ModuleConstruct.cs -------------------------------------------------------------------------------- /GameLogic/Commands/NextTurn.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/NextTurn.cs -------------------------------------------------------------------------------- /GameLogic/Commands/NextTurnCount.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/NextTurnCount.cs -------------------------------------------------------------------------------- /GameLogic/Commands/Pay.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Commands/Pay.cs -------------------------------------------------------------------------------- /GameLogic/Core.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Core.cs -------------------------------------------------------------------------------- /GameLogic/GameLogic.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/GameLogic.csproj -------------------------------------------------------------------------------- /GameLogic/GameLogic.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/GameLogic.sln -------------------------------------------------------------------------------- /GameLogic/Player/Bank.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Player/Bank.cs -------------------------------------------------------------------------------- /GameLogic/Player/ResourceType.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Player/ResourceType.cs -------------------------------------------------------------------------------- /GameLogic/Progression.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Progression.cs -------------------------------------------------------------------------------- /GameLogic/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /GameLogic/TimeWarp.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/TimeWarp.cs -------------------------------------------------------------------------------- /GameLogic/Turns.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/GameLogic/Turns.cs -------------------------------------------------------------------------------- /LogicTests/Architecture.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/Architecture.cs -------------------------------------------------------------------------------- /LogicTests/Cycle.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/Cycle.cs -------------------------------------------------------------------------------- /LogicTests/Init.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/Init.cs -------------------------------------------------------------------------------- /LogicTests/LogicTests.csproj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/LogicTests.csproj -------------------------------------------------------------------------------- /LogicTests/LogicTests.sln: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/LogicTests.sln -------------------------------------------------------------------------------- /LogicTests/Player.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/Player.cs -------------------------------------------------------------------------------- /LogicTests/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/Properties/AssemblyInfo.cs -------------------------------------------------------------------------------- /LogicTests/Turns.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/LogicTests/Turns.cs -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/theshock/GameLogicArticle/HEAD/README.md --------------------------------------------------------------------------------