8
votes
Accepted
Combat numbers in an MVC
You are correct that it's not the View's job in an MVC architecture to implement any game mechanics like friendly fire.
But whether it's the controller's job or the model's job to implement game ...
2
votes
Accepted
What's the Unity way of implementing data driven UI
I generally prefer ScriptableObjects for storing data that:
You want to be editable with a GUI in the Unity Editor (as they can be edited in the Inspector much like the components on a GameObject)
Is ...
2
votes
Adding JavaFX GUI to an MVC based terminal card game
if you want to implement a minimal M-VC you have to structure your application kind a like this:
(This is only an example Diagramm)
Model
The Game is your Model. It stores information about who's ...
1
vote
Manage game states of a card game with MVC
From what I've understood, you want to use the States pattern to convey/control the overall game flow of the card game. You have defined 3 logical game states, Pick a card(s1), Invoke Monster(s2), and ...
1
vote
Is it a good idea to implement a MVC pattern into my LibGDX 2D RPG-style game?
tl'dr
Design Pattern can show you a solution, how this pattern helped many others. If it is suitable for your problem is only known by you. Design Patterns are rather independent of applied ...
1
vote
UnityWebRequest won't work unless a breakpoint is triggered before hand
You need to IEnumerator to yield return and wait for request to complete. Call this method inside coroutine.
Method:
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mvc × 37java × 9
architecture × 6
unity × 4
design-patterns × 4
turn-based × 3
c# × 2
2d × 2
multiplayer × 2
card-game × 2
javafx × 2
webapp × 2
c++ × 1
libgdx × 1
game-design × 1
animation × 1
javascript × 1
rendering × 1
networking × 1
gui × 1
ios × 1
html5 × 1
lwjgl × 1
models × 1
entity-system × 1