players package¶
Submodules¶
Module contents¶
This is the Players package: it contains Player’s subclasses that try to develop some kind of intelligence...
Importation¶
Do as you want, there is nothing special in the players/__init__.py file.
Use¶
To use the imported classes, just write:
Game()
no need to use core.Game.Game().
This is made possible thanks to the addition of the core/ folder path to the Python path
and the use of from core.Game import Game in the __init__.py file.