itachi1706 / CheesecakeUtilities

A group of utility stuff that I use on my phone :D
MIT License
2 stars 1 forks source link

Sudoku game #198

Open itachi1706 opened 6 years ago

itachi1706 commented 6 years ago

DB layout (subjected to changes)

tbl_game

id, puzzle (in CSV format from left to right, top to bottom), completed_puzzle (CSV), time taken (in millis, update when game completes/pauses), started (1-first move made,0-not started), is_active (true if currently active game), completed (true if puzzle is solved, false otherwise), game_difficuly (num of cells removed)

tbl_moves

id, game_id (linked to Id in tbl_game), slot\_id (0-80, based on cell in asc order from left to right, top to bottom), old_val (0-9, where 0 is blank), new_val (0-9, where 0 is blank)

Game flow (subjected to changes, general flow)

Sent from my Mi A1 using FastHub

itachi1706 commented 6 years ago

Need to figure out how to generate the puzzle first lol

Can try https://trello.com/c/EEohe7uA/401-sudoku-game

Sent from my Mi A1 using FastHub