goap-ai 0.2.0

Goal-Oriented Action Planning (GOAP) AI.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# List the filename and content of files in the ./src directory
# Usage: python print_source.py

import os


def print_source():
    for root, dirs, files in os.walk("./src"):
        for file in files:
            with open(os.path.join(root, file), "r") as f:
                print(f"{file}")
                print(f"```rust\n{f.read()}\n```")
                print()


__name__ == "__main__" and print_source()