Patrick Machado
10 jul 2019
Killer Sudoku is a modification of the original game in which, instead of fixed numbers as the clues to solve it, groups of boxes and the sum of its respective values are given.
This is a pitch for a Shiny application made for helping Killer Sudoku players.
In the problem at right the groups are marqued with different colors. Every group shows, at the left-up corner, the sum of the values inside it.
The cases in pink are five:
Case | Groups | Boxes | Adding |
---|---|---|---|
A | 1 | 2 | 17 |
B | 1 | 2 | 14 |
C | 2 | 3 | 17 |
D | 1 | 2 | 16 |
E | 1 | 2 | 15 |
The purpose of the application is to show the posible combinations of numbers that can add the needed sum.
The first pink group has 2 boxes that add 17. The picture at right shows how the app should be used and, of course, the answer:
Posible combinations: |
---|
8 and 9 |
The Shiny application make use of a function called posibles
. Below there are two examples of how it is used:
posibles( 17, 2)
[,1] [,2]
[1,] 8 9
posibles( 15, 2)
[,1] [,2]
[1,] 6 9
[2,] 7 8
Shiny app: SudokuKillerSums
For playing Killer Sudoku: SudokuMania, Killer Sudoku Online
For Killer Sudoku rules and solving tips: SudokuMania, Killer Sudoku Online, Wikipedia
Thanks and enjoy playing Killer Sudoku!