File tree 1 file changed +35
-0
lines changed
1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "cells" : [
3
+ {
4
+ "cell_type" : " markdown" ,
5
+ "metadata" : {},
6
+ "source" : [
7
+ " ## Project: Minimax\n " ,
8
+ " \n " ,
9
+ " Finish and integrate the minimax algorithm into the game by asking if the user wants to play against a computer or another human.\n " ,
10
+ " \n " ,
11
+ " Time how long the `bestMove` function takes:\n " ,
12
+ " ```python\n " ,
13
+ " import time\n " ,
14
+ " \n " ,
15
+ " start = time.time()\n " ,
16
+ " # call function\n " ,
17
+ " end = time.time()\n " ,
18
+ " print(end - start)\n " ,
19
+ " ```\n " ,
20
+ " \n " ,
21
+ " ## Next Step: Alpha-Beta Pruning\n " ,
22
+ " \n " ,
23
+ " Implement alpha-beta pruning into the minimax algorithm - Introduce the idea of the pruning step."
24
+ ]
25
+ }
26
+ ],
27
+ "metadata" : {
28
+ "language_info" : {
29
+ "name" : " python"
30
+ },
31
+ "orig_nbformat" : 4
32
+ },
33
+ "nbformat" : 4 ,
34
+ "nbformat_minor" : 2
35
+ }
You can’t perform that action at this time.
0 commit comments