How megatron10/solve-you-a-game works
Main Components
a) Core Framework Layer:
• Solver Engine (src/Solver.hs)
• Game Play Manager (src/GamePlay.hs)
• Game Runner (src/RunGame.hs)
b) Games Implementation Layer:
• Individual Game Implementations
• Chomp
• FrogPuzzle
• TicTacToe
• TwentyOne
c) Testing Layer:
• Game-specific tests
• Main test suite
Specific Elements
a) Core Framework:
• Game Type Class (from Solver.hs)
• SolvableGame Type Class (from GamePlay.hs)
• Solver Engine
• Game Play Manager
b) Implementation Layer:
• Individual game modules showing their relationship to the Game and SolvableGame type classes
c) Testing Components:
• Relationship between each game and its corresponding test module
Additional Details
Annotations for:
• Stack build system integration
• CircleCI integration
• Documentation generation path