summaryrefslogtreecommitdiffstats
path: root/.vscode/launch.json
blob: 10ed9ffd5dda5315a3a3393f9b4a061172d8b95a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "debug",
            "type": "python",
            "request": "launch",
            "program": "pacman.py",
            "args": [
                "--frameTime=0.01",
                "--catchExceptions",
                "--pacman=SearchAgent",
                "--agentArgs=fn=${input:searchAlgorithm}",
                "--layout=${input:mazeLayout}",
            ]
        },
        {
            "name": "autograder",
            "type": "python",
            "request": "launch",
            "program": "autograder.py",
        }
    ],
    "inputs": [
        {
            "id": "searchAlgorithm",
            "type": "pickString",
            "description": "Select the search algorithm",
            "options": [
                "tinyMazeSearch",
                "depthFirstSearch",
                "breadthFirstSearch",
                "uniformCostSearch"
            ],
            "default": "uniformCostSearch"
        },
        {
            "id": "mazeLayout",
            "type": "pickString",
            "description": "Select the maze layout",
            "options": [
                "tinyMaze",
                "mediumMaze",
                "bigMaze",
                "mediumScaryMaze",
                "mediumDottedMaze"
            ],
            "default": "tinyMaze"
        }
    ]
}