diff --git a/CoopSweeper/CoopSweeper.csproj b/CoopSweeper/CoopSweeper.csproj index ce1697a..2ecb5a3 100644 --- a/CoopSweeper/CoopSweeper.csproj +++ b/CoopSweeper/CoopSweeper.csproj @@ -5,4 +5,8 @@ netcoreapp2.0 + + + + diff --git a/CoopSweeper/GameTypes/Field.cs b/CoopSweeper/GameTypes/Field.cs new file mode 100644 index 0000000..01aba62 --- /dev/null +++ b/CoopSweeper/GameTypes/Field.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace CoopSweeper.GameTypes +{ + + class Field : IField + { + public bool ContainsBomb { get; set; } + + public FieldState State { get; set;} + } +} diff --git a/CoopSweeper/GameTypes/Game.cs b/CoopSweeper/GameTypes/Game.cs new file mode 100644 index 0000000..fe63691 --- /dev/null +++ b/CoopSweeper/GameTypes/Game.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace CoopSweeper.GameTypes +{ + class Game + { + } +} diff --git a/CoopSweeper/GameTypes/IField.cs b/CoopSweeper/GameTypes/IField.cs new file mode 100644 index 0000000..87eb58a --- /dev/null +++ b/CoopSweeper/GameTypes/IField.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace CoopSweeper.GameTypes +{ + enum FieldState + { + NONE, + REVEALED, + QUESTIONMARK, + FLAG + } + + public interface IField + { + } +} diff --git a/CoopSweeper/GameTypes/IGame.cs b/CoopSweeper/GameTypes/IGame.cs new file mode 100644 index 0000000..ec8e0be --- /dev/null +++ b/CoopSweeper/GameTypes/IGame.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace CoopSweeper.GameTypes +{ + interface IGame + { + } +}