dannyhammer / TwoPlayerGames

Undergraduate research into the mechanics of simple two-player games.
3 stars 2 forks source link

Fix import issues in `rook_ruleset.py` and `rook_strategy.py` #70

Closed dannyhammer closed 3 years ago

dannyhammer commented 3 years ago

Link to thread explaining problem

In a nutshell:

games                              <- Parent directory
├── __init__.py                    <- Module file that stackoverflow told me to add
├── generic_classes
│   ├── __init__,py                <- Module file that stackoverflow told me to add
│   ├── ruleset_interface.py       <- Interface I am implementing
└── unbalanced_rook 
    ├── __init__,py                <- Module file that stackoverflow told me to add
    └── rook_ruleset.py            <- Class that will implement the interface

I cannot import the RulesetInterface from generic_classes/ in the rook_ruleset.py file. I do not know how to fix this, and none of my attempts have worked.