Skip to content

bacomatic/q-doku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Q-Doku!

Qt5 based Sudoku game that uses the sudoku-serve backend for board generation.

TODO:

  • Add more docs and stuff
    • About box
    • Splash screen
  • Restructure project so it isn't a pile of spaghetti
  • Add actual backend support (fetch a puzzle)
    • Remove demo puzzles
    • Request real puzzles, not demo puzzles
  • Add game board to GamePage
  • Add game logic
    • Add mouse selection and cell highlighting
    • Add keyboard navigation
    • Add number entry
    • Add puzzle validation, error detection
    • Error/Warning highlighting
    • Add game over logic
  • Hide main menu in a hamburger instead of goofy swipe view
  • License headers...
  • Better board grid generation
  • Change to use model/delegate model instead of JS array
  • Start new game on startup, if none in progress
  • Gameplay statistics would be nice (not available during game play)
    • Time spent each game
    • Guesses made
    • Correct guesses made
    • Guess error rate
  • SaaM (SudokuGame as a Model, sadly no TableModel in QML)
  • Puzzle request status box
    • Busy indicator while requesting puzzle
    • Board generator progress meter, if board/puzzle needs to be generated (TBD)
  • Puzzle difficulty setting(s)
  • Click on number to highlight all other cells with the same number
  • Status bar (?)
  • Allow mouse-only interaction (== touch friendly!)
  • New game dialog
  • Add some graphics, so it actually looks nice (background, cell tiles, etc..)
  • Add some sound effects
  • Use QML StateMachine to handle game state
  • Local storage handler (QML)
    • LocalStorage wrapper with basic settings
    • Save/restore window size, needs resizability first
    • Save current game
    • Fetch/save unplayed boards (pre-loaded boards)

Future enhancements:

  • Themes. Colors, image tiles, etc...
  • Notes
  • Board/Puzzle browser, show/choose available puzzles on server
  • Cloud storage (device dependent, e.g., iCloud for iOS)

Features requiring backend work:

  • Actual puzzle generation (from frontend perspective)
  • Puzzle generator progress
  • Selectable puzzle difficulties
  • Different configurations, e.g., Samurai boards

BUGS:

  • Left/right arrow navigation wraps around to prev/next row
  • Row/Col highlight bar doesn't animate shrinking when cell selection moves
  • Random seed dialog is uuuuuuugly (should be in New Game dialog)
  • Game board does not scale with window size, would be necessary for mobile devices
  • Changing to larger board leaves the old cells on the board while a new puzzle is being requested

About

Qt based Sudoku game that uses sudoku-serve backend

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors