Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
325 views
in Plugins by
edited by

This is a sudoku game designed for Q2A platforms. It is a premium paid plugin. It adds a game page and a sudoku user ranking page. In the game, there is error count, hint count, reset count, and timer. Moreover, it has marking, deleting, using hints, and printing functionalities. 

SUDOKU GAME PAGE:

General:

  • The sudoku board is 9x9. In total 81 cells.
  • There will be a button link to the Sudoku User Ranking Page.

Difficulty Level:

  • Easy: Initially 35 numbers will be given out of 81.
  • Medium: Initially 30 numbers will be given out of 81.
  • Hard: Initially 25 numbers will be given out of 81.

Stats/Counts:

  • Errors Count: it will count errors made by the user. If number is wrong (error) its background color will be red. 
  • Hints Count: it will count hints used by the user.
  • Resets Count: it will count resets made by the user.
  • Timer: it will show time elapsed in minutes and seconds.

Functions/Buttons:

  • TIMER: it has 2 modes: Pause and Play. Initially, it automatically starts the time and it is in play mode. User can anytime pause the game. But when it is paused, the sudoku board will be censored, so that users cannot continue game without timer. Unpausing the game, will again bring the board and last saved numbers.
  • MARKING (ON/OFF): when it is clicked, it turns ON and the game board will be on MARKING/NOTING mode.
  • DELETE: when it is clicked, it will delete the user inputted number at the active cell on the game board.
  • HINT: when it is clicked, it will give correct number for the active cell on the game board, and it will be fixed, non-deletable. Hint count will increase by 1 each time.
  • PRINT: when it is clicked, it will pop up print window for the sudoku page.
  • NEW GAME: it starts a new sudoku game with selected difficulty level. All counts will be reset.
  • RESET: it resets current sudoku game. All counts will be reset. But after reset the game will be at training mode. It wont be considered for sudoku user ranking.

SUDOKU USER RANKING PAGE:

  • There will be 3 table ranking for each levels: Easy, Medium, Hard.
  • Max.Score in Easy level is 100.
  • Max.Score in Medium level is 200.
  • Max.Score in Hard. level is 300.

HOW SCORE IS CALCULATED?

  • It is custom strategy of calculation. It can be improved or changed. Here, we calculate the COST of completing the game. The parameters of this Cost is minutes spent, seconds spent, errors made, hints used. And it is calculated as below.
  • COST: Minutes + Seconds/60 + Errors*5 + Hints*10
  • Each difficulty level has its own maximum score. So, user's score will be Max.Score minus Cost.
  • SCORE: Maximum Score - Cost

Plugin Admin Settings:

  • Admin should enable the plugin. And it will ask to setup database table for it. Admin should initialize setup.

TEST DEMO WEBSITE: LIVE DEMO

Standard registered user (username: deneme_11 / pass: test1234)

Q2A version: 1.8

Please log in or register to answer this question.

...