com2014-template/Workshop - 3 (Game).ipynb

123 lines
2.0 KiB
Plaintext

{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Create a terminal here"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"images/terminal.png\">"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Change working directory"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```bash\n",
"$ cd Workshop\\ -\\ 3\\ \\(Game\\)/\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"images/pwd.png\">"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Run the game"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```bash\n",
"$ python3 minimax.py\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"images/minimax.png\">"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"```bash\n",
"$ python3 ab-pruning.py\n",
"```"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"<img src=\"images/ab-pruning.png\">"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Reading Materials"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"https://stackabuse.com/minimax-and-alpha-beta-pruning-in-python/"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.5"
}
},
"nbformat": 4,
"nbformat_minor": 4
}