Skip to content
Snippets Groups Projects
Commit 23271231 authored by Annika Österdiekhoff's avatar Annika Österdiekhoff Committed by Florian Schröder
Browse files

Gramamar :thumbsup::smiley:

parent 72442594
No related branches found
No related tags found
1 merge request!29Resolve "docstrings"
Pipeline #44202 passed
......@@ -6,7 +6,7 @@ This is the documentation of the Overcooked Simulator.
The package contains of an environment for cooperation between players/agents.
A PyGameGUI visualizes the game to human or visual agents in 2D.
A 3D web-enabled version (for example for online studies) can be found in the future [here](https://gitlab.ub.uni-bielefeld.de/scs/cocosy/godot-overcooked-3d-visualization)
A 3D web-enabled version (for example for online studies, currently under development) can be found [here](https://gitlab.ub.uni-bielefeld.de/scs/cocosy/godot-overcooked-3d-visualization)
# Background / Literature
The overcooked/cooking domain is a well established cooperation domain/task.
......@@ -17,7 +17,7 @@ Besides, the general adaptations of the original overcooked game.
# Usage / Examples
Our overcooked simulator is designed for real time interaction but also with reinforcement learning in mind (gym environment).
Our overcooked simulator is designed for real time interaction but also with reinforcement learning in mind (gymnasium environment).
It focuses on configurability, extensibility and appealing visualization options.
## Human Player
......
......@@ -225,7 +225,7 @@ class ServingWindow(Counter):
class Dispenser(Counter):
"""The class for all dispenser except plate dispenser. Here ingredients can be graped from the player/agent.
"""The class for all dispensers except plate dispenser. Here ingredients can be grabbed from the player/agent.
At the moment all ingredients have an unlimited stock.
......
......@@ -66,7 +66,7 @@ class ItemInfo:
name: str = dataclasses.field(compare=True)
"""The name of the item, is set automatically by the "group" name of the item."""
seconds: float = dataclasses.field(compare=False, default=0)
"""If a progress is needed this defines how long it takes to complete the process in seconds."""
"""If progress is needed this argument defines how long it takes to complete the process in seconds."""
needs: list[ItemInfo] = dataclasses.field(compare=False, default_factory=list)
"""The ingredients/items which are needed to create the item/start the progress."""
equipment: ItemInfo | None = dataclasses.field(compare=False, default=None)
......
......@@ -11,7 +11,7 @@ orders:
...
```
For the `serving_not_ordered_meals` is a function expected. It received a meal as an argument and should return a
`serving_not_ordered_meals` expects a function. It received a meal as an argument and should return a
tuple of a bool and the score. If the bool is true, the score will be added to the score. Otherwise, it will not
accept the meal for serving.
......@@ -195,7 +195,7 @@ class RandomOrderKwarg:
class RandomOrderGeneration(OrderGeneration):
"""A simple order generation based on random sampling with two options.
Either sample the delay when a new order should come in after the last order comes in or after a meals was served
Either sample the delay when a new order should come in after the last order comes in or after a meal was served
(and an order got removed).
To configure it align your kwargs with the `RandomOrderKwarg` class.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment