Kakuro Puzzles game

Download Report

Transcript Kakuro Puzzles game

Kakuro Puzzles game
Chang-Yin Lin
CS491B
December 8 2006
Introduction
Kakuro is a kind puzzle
game and a kind of
cross sums game.
In kakuro



Integer Problem
Matrix
Sums
Sum (min value)








3 = 1, 2
6 = 1, 2, 3
10 = 1, 2, 3,
15 = 1, 2, 3,
21 = 1, 2, 3,
28 = 1, 2, 3,
36 = 1, 2, 3,
45 = 1, 2, 3,
4
4,
4,
4,
4,
4,
5
5,
5,
5,
5,
6
6, 7
6, 7, 8
6, 7, 8, 9
Sum(Max value)








17
24
30
35
39
42
44
45
=
=
=
=
=
=
=
=
9,
9,
9,
9,
9,
9,
9,
9,
8
8,
8,
8,
8,
8,
8,
8,
7
7,
7,
7,
7,
7,
7,
6
6,
6,
6,
6,
6,
5
5,
5,
5,
5,
4
4, 3
4, 3, 2
4, 3, 2, 1
Technology

J2SE 5.0
Rule
Place one digit from 1 to 9 in each
empty box so that the sum of the digits
in each set of consecutive white boxes
is the number appearing to the left of a
set or above the set. No number may
appear more than once in any
consecutive boxes.
Core


Generator
Game
Interface

Three part



Game part
Operation part
Help part
game

Component


Blue Clue box
give information for its left line and down
line
White empty box(button)
put the number into the game
Operation

Component





Restart
Reset
Check
Solution
Hint(on/ off)
Help (hint/on)



Position
Possible number
Possible combination
How to solve
1.
2.
3.
4.
Every box have possible numbers and
combinations
Choice the less possible numbers
Choice the less possible combinations
Make guess on unsolved cell then
come back to step 1
Further work


Setting difficulty level(generator)
square help


Questions
Demo