Skip to content

daltonbr/Minesweeper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minesweeper

Implementing a State Machine pattern (among other things in Unity), with Minesweeper as an excuse.

Youtube Teaser Minesweeper

State Machine Diagram

State Machine Diagram

State Machine Diagram.

Problem to solve

Reordering an app workflow could be a complex task, separating the concerns between logic and UI, managing events. State Machine Pattern helps us with that, facilitating debug and maintenance.

Where to Find

Assets/Scripts/State/States
Assets/Scripts/State/UIStates

UIStates run in conjunction with 'regular' states, decoupling UI concerns from the game logic.

Interesting features