[Add] Basic project architecture

This commit is contained in:
2026-06-06 20:53:30 +07:00
parent 9ebedb12ec
commit 8ed9cc655f
79 changed files with 1080 additions and 9 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 2ebb3bd7d4baf544fadefb7718c935d2
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,11 @@
using Unity.Entities;
namespace Minesweeper.ECS.Components
{
public struct BoardConfigComponent : IComponentData
{
public int Width;
public int Height;
public int MinesCount;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: b0024f7b9432b3740bdb6ae9ab132529
@@ -0,0 +1,14 @@
using Unity.Entities;
namespace Minesweeper.ECS.Components
{
public struct CellComponent : IComponentData
{
public int X;
public int Y;
public byte IsMine;
public byte IsOpened;
public byte IsFlagged;
public int NeighborMines;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 50ce9bb3f8ca1c142a28adb88899afec
@@ -0,0 +1,11 @@
using Minesweeper.Core;
using Unity.Entities;
namespace Minesweeper.ECS.Components
{
public struct GameStateComponent : IComponentData
{
public GameState State;
public byte HasFirstClick;
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a89195585a555b54e909b4f8797f20ed
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 210d08f5d5948674fa0df51ed6a785b0
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: