Skip to content

Commit b40ecc0

Browse files
antmarakisnorvig
authored andcommitted
Rename canvas to notebook (aimacode#564)
* Update logic.ipynb * canvas -> notebook in games * Rename canvas.py to notebook.py
1 parent c13a722 commit b40ecc0

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

games.ipynb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,12 @@
678678
{
679679
"cell_type": "code",
680680
"execution_count": 24,
681-
"metadata": {},
681+
"metadata": {
682+
"collapsed": true
683+
},
682684
"outputs": [],
683685
"source": [
684-
"from canvas import Canvas_minimax, Canvas_alphabeta\n",
686+
"from notebook import Canvas_minimax, Canvas_alphabeta\n",
685687
"import random"
686688
]
687689
},
@@ -2258,7 +2260,7 @@
22582260
},
22592261
"outputs": [],
22602262
"source": [
2261-
"from canvas import Canvas_TicTacToe"
2263+
"from notebook import Canvas_TicTacToe"
22622264
]
22632265
},
22642266
{
@@ -2442,7 +2444,7 @@
24422444
"name": "python",
24432445
"nbconvert_exporter": "python",
24442446
"pygments_lexer": "ipython3",
2445-
"version": "3.6.1"
2447+
"version": "3.5.2+"
24462448
}
24472449
},
24482450
"nbformat": 4,

logic.ipynb

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,9 @@
553553
{
554554
"cell_type": "code",
555555
"execution_count": 21,
556-
"metadata": {},
556+
"metadata": {
557+
"collapsed": true
558+
},
557559
"outputs": [],
558560
"source": [
559561
"%psource tt_check_all"
@@ -992,7 +994,7 @@
992994
}
993995
],
994996
"source": [
995-
"from canvas import Canvas_fol_bc_ask\n",
997+
"from notebook import Canvas_fol_bc_ask\n",
996998
"canvas_bc_ask = Canvas_fol_bc_ask('canvas_bc_ask', crime_kb, expr('Criminal(x)'))"
997999
]
9981000
},
@@ -1025,7 +1027,7 @@
10251027
"name": "python",
10261028
"nbconvert_exporter": "python",
10271029
"pygments_lexer": "ipython3",
1028-
"version": "3.6.1"
1030+
"version": "3.5.2+"
10291031
}
10301032
},
10311033
"nbformat": 4,
File renamed without changes.

0 commit comments

Comments
 (0)