seagiants / crystal-hunt

1 stars 0 forks source link

Code architecture #7

Open romaintailhurat opened 6 years ago

romaintailhurat commented 6 years ago

We should move to a more feature oriented code base: using one directory per feature / main concept of the game.

For example:

src/ /map /power /card /players /monster /etc.

Where in a "concept" directory we would have (when it has meaning) components / lib / related game logic / state modifiers / graphics (when we need to isolate that from the component logic)

This could be done after the first test phase of a more complete game :)

bibirico commented 6 years ago

15 is a following to this issue.