Skip to content

Commit

Permalink
Add a first outline for the tutorial website
Browse files Browse the repository at this point in the history
  • Loading branch information
orzechow committed Oct 8, 2024
1 parent cdd1ddd commit 1132327
Show file tree
Hide file tree
Showing 6 changed files with 90 additions and 0 deletions.
21 changes: 21 additions & 0 deletions docs/Tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,24 @@

Let's write an agent for the famous PacMan game using Arbitration Graphs 🕹️

## Introduction
- [ ] What to find where in the repo?
- [ ] What is the goal of the tutorial?

## Tasks

1. [Implement your first behavior component](./tasks/1_implement_behavior_component.md)
2. [Extend the arbitration graph with that behavior](./tasks/2_extend_arbitration_graph.md)
3. [Add even more behavior components](./tasks/3_add_more_behaviors.md)
4. [Learn about nested arbitration graphs](./tasks/4_nested_arbitrators.md)
5. [Arbitrate based on predicted utility](./tasks/5_cost_arbitration.md)


- [ ] Finish chase ghost finish so that is passes unit tests by re-implementing some removed part, e.g. getCommand
- [ ] Integrate chase ghost into priority arbitrator
- [ ] Integrate eat closest dot behavior
- [ ] Integrate eat dot arbitrator as random arbitrator
- [ ] Replace arbitrator from previous step with cost arbitrator, finish cost estimator

## General TODOs
- [ ] Add a bit of an explanation about arbitration graphs to top-level readme
12 changes: 12 additions & 0 deletions docs/tasks/1_implement_behavior_component.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Task 1: Implement a Behavior Component"
description: Implement your first getCommand function, such that the ChaseGhost behavior component passes its unit tests.
---

# Chase Ghost


---
[Tutorial Home](../Tutorial.md)
|
[Next task →](2_extend_arbitration_graph.md)
15 changes: 15 additions & 0 deletions docs/tasks/2_extend_arbitration_graph.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Task 2: Extend the Arbitration Graph"
description: Extend the arbitration graph with the ChaseGhost behavior component.
---

# Chase Ghost



---
[← Previous task](1_implement_behavior_component.md)
|
[Tutorial Home](../Tutorial.md)
|
[Next task →](3_add_more_behaviors.md)
15 changes: 15 additions & 0 deletions docs/tasks/3_add_more_behaviors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Task 3: Even more behavior components"
description: Integrate the EatClosestDot behavior component into the arbitration graph.
---

# Eat Closest Dot



---
[← Previous task](2_extend_arbitration_graph.md)
|
[Tutorial Home](../Tutorial.md)
|
[Next task →](4_nested_arbitrators.md)
15 changes: 15 additions & 0 deletions docs/tasks/4_nested_arbitrators.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
title: "Task 4: Nested arbitration graphs"
description: Integrate a long-term behavior and add another layer to the arbitration graph
---

# Nesting



---
[← Previous task](3_add_more_behaviors.md)
|
[Tutorial Home](../Tutorial.md)
|
[Next task →](5_cost_arbitration.md)
12 changes: 12 additions & 0 deletions docs/tasks/5_cost_arbitration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "Task 5: Arbitrate based on predicted utility"
description: Learn how the cost arbitrator can help you to arbitrate between behaviors based on their expected cost/utility.
---

# Cost Arbitrator


---
[← Previous task](4_nested_arbitrators.md)
|
[Tutorial Home](../Tutorial.md)

0 comments on commit 1132327

Please sign in to comment.