I am writing a game in Python.
I need help to design the game.
The game contains a board and some basic logic. My final goal is to have an AI that is playing the game and a view that presents the moves.
Usually when planning a game, one would use a MVC design pattern
, or the MVVM design pattern
when the game is very interactive with the player. But I do not have a player involved, only an agent.
My question is how do I expand the usual MVC or MVVM design pattern to use the agent, or even creates a new design pattern specially for agents.
I have the beginning of the uml in the diagram below:
But I am having trouble to continue.
How should the rest of the uml should look like? And how does a MVVM or MVC UML looks like in Python? (I'm also not familiar with event systems in Python)
Aucun commentaire:
Enregistrer un commentaire