Skip to content
Snippets Groups Projects
Commit 5bbc3f76 authored by Tessaris Sergio's avatar Tessaris Sergio
Browse files

refactor: API in wumpus namespace

parent 10c3ec7e
No related branches found
No related tags found
No related merge requests found
...@@ -8,8 +8,7 @@ import random ...@@ -8,8 +8,7 @@ import random
from typing import Iterable from typing import Iterable
import sys import sys
from wumpus import InformedPlayer, run_episode from wumpus import InformedPlayer, run_episode, Eater, EaterWorld, Food
from wumpus.gridworld import Eater, EaterWorld, Food
class MyPlayer(InformedPlayer): class MyPlayer(InformedPlayer):
......
from .gridworld import Agent, Percept, Coordinate, coord, GridWorld, EaterWorld, GridWorldException from .gridworld import Agent, Percept, Coordinate, coord, GridWorld, EaterWorld, GridWorldException, Eater, Food
from .player import InformedPlayer, UninformedPlayer, Player, UserPlayer, RandomPlayer from .player import InformedPlayer, UninformedPlayer, Player, UserPlayer, RandomPlayer
from .wumpus import WumpusWorld, Hunter, Wumpus, Pit, Gold, Exit from .wumpus import WumpusWorld, Hunter, Wumpus, Pit, Gold, Exit
from .runner import run_episode from .runner import run_episode
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment