-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper step-by-step guide for game creation #82
Comments
As you noticed, these step-by-step guides become old very quickly. So I think there is no good way around the fact that people should "know the clemgame framework" before they can be productive with it. We can provide a class diagram to make dependencies more clear. But to see "which attributes and methods are established at each level in the hierarchy" the best way is still to look at the files in an IDE. |
Although taking an existing game and dissembling it would also be nice. Is there a game that a) doesn't have too much code and b) could count as a best practice example, for which a doc could be written that guides the learner through it? |
Good comments/docstrings in |
I think hellogame was supposed to do this, but I fear it is broken for now. And Brie wrote something for the private/shared game, didn't she? |
GameMaster only has |
I was referring to GameMaster and its child classes. |
@Gnurro , does |
Currently the game creation documentation is fragmented between multiple files, The 'howto' also mixes more or less general descriptions of framework components with instructions. Docstrings inside the base clemgame code could be improved a lot. Specially the class hierarchy (ie GameResourceLocator->GameMaster) could be explained a lot better, making it clear which attributes and methods are established at each level in the hierarchy.
The closest is https://github.com/clp-research/clembench/blob/main/docs/howto_add_games_example.ipynb at the moment, but it refers to the less accessible other docs at the start. The order and the implementation examples are unintuitive for someone who does not already know the clemgame framework. Certain crucial information is delegated to side notes (for example the resource loading and use).
The existing documentation is not up to date with the current framework - specially after the split of the GameMaster classes for running from those for scoring the game.
A clear, step-by-step guide on how to set up all required methods, file structure and required files would help a lot with getting started properly.
The text was updated successfully, but these errors were encountered: