mirror of
https://github.com/cjdenio/crossword.git
synced 2026-10-03 11:06:19 +00:00
make it possible to check puzzle in the future
This commit is contained in:
5 files changed
+59
-29
No files matched your search
@@ -50,12 +50,7 @@ func main() {
|
||||
|
||||
defer term.Restore(int(os.Stdin.Fd()), termState)
|
||||
|
||||
state := game.State{
|
||||
Puzzle: puzzle,
|
||||
PuzzleState: []rune(puzzle.State),
|
||||
SelectedClue: puzzle.Clues[0],
|
||||
SelectedCell: puzzle.Clues[0].Cells[0],
|
||||
}
|
||||
state := game.NewState(puzzle)
|
||||
if debugMode != nil {
|
||||
state.DebugMode = *debugMode
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user