Transcript intro

Crystal Maze
coded in choco
Put a different number in each circle (1 to 8) such
that adjacent circles cannot take consecutive numbers
0
1
2
6
7
5
4
3
Put a different number in each circle (0 to 7) such
that adjacent circles cannot take consecutive numbers
The numbers are the identification of a circle
0
1
2
6
7
5
4
3
Put a different number in each circle (0 to 7) such
that adjacent circles cannot take consecutive numbers
0
1
2
3
8
9
10
7
6
5
Put a different number in each circle (0 to 10) such
that adjacent circles cannot take consecutive numbers
4
0
1
2
6
7
5
4
3
0
1
2
3
8
9
10
7
6
5
4
Compile & Run
0
1
2
6
7
5
4
3
0
2
2
6
7
5
4
3
6
2
2
6
7
5
4
3
6
2
2
6
7
3
4
3
6
2
2
0
7
3
4
3
6
2
4
0
7
3
4
3
6
2
4
0
7
3
4
3
6
2
4
0
7
3
4
1
6
2
4
0
7
3
5
1
So, what IS a constraint program?
Possible answers
It’s a program that generates variables and constraints to represent a problem
It’s a program that creates a model of a problem and then
uses search and heuristics to solve the problem
It’s a program that compiles some problem into a representation as CSP