Play Smart Friends Sudoku β Against the Computer
π― Test your logic. π€ Challenge the AI. π§ Outthink the board.
This isnβt just Sudoku β itβs Sudoku as a **competitive game**!
Explanation and Game Rules:
- The idea behind this game is to turn Sudoku into a contest between multiple players.
- The winner is, of course, the one who reveals the most numbers on the board.
- Each correct guess of a hidden square earns 10 points.
- To support a multiplayer version, a dedicated server would be required. At the moment, such a server is not available.
- To demonstrate the game concept, I developed this version where you play against the computer.
- This implementation uses JavaScript running in your browser, removing the need for a server.
- Sudoku rules: the board consists of nine 3x3 squares, each containing the numbers 1 to 9 without repeats. Additionally, each row and column of the entire board must also contain the numbers 1 to 9 without repeats.
- You can choose to start with 18 revealed squares to make the game quicker and reduce the guessing phase.
- Each turn, you roll a dice, and an arrow appears (up or down).
- The dice number and arrow define which numbers you are allowed to guess with.
- Currently we do not set a time to guess. This allow the user to hold the game, do other things, and think about the probable guess to win the game.
- Click a hidden cell, then select a guess from the allowed numbers.
- A clicked cell cannnot be changed.
- If correct, you earn points and continue playing.
- If incorrect, the turn passes to the computer.
- If the dice and arrow combination points to numbers that cannot be used, the turn is skipped and moves to the next player.
- There are four computer difficulty levels:
- Level 1: The computer chooses a random cell and a random number from the available options.
- Level 2: The computer keeps track of its failed guesses and avoids repeating them when selecting a square and number.
- Level 3: The computer applies Sudoku rules to avoid mistakes but does not remember past guesses.
- Level 4: The computer uses both Sudoku logic and memory of previous guesses to improve its choices.
- Revealed cells cannot be selected again.
- The game ends when all cells are revealed. The player with the highest score wins!
- If you enjoyed the game and would like to help us develop the full multiplayer version, please contact me at breaththinkwrite@gmail.com.