Skip to content
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

Shopping, consumable use and some fixes #5

Merged
merged 20 commits into from
Aug 29, 2023
Merged

Conversation

TemirkhanN
Copy link
Contributor

  • Lvl calculator fixed.
  • All immutable data such as dungeons, monsters, droplist moved to data. It shall simplify adding new content with updates.
  • Template engine(twig) provided(it is really hard to mix php and html without one). Every existing page is templated.
  • Shopping system implemented (offers are kept in data/shop_stock.yaml folder). Grocery and armory for start.
  • Item usage concept implemented. Works for cheese for now since it is the only consumable for now.
  • API extended and isolated with a front controller. Adding new features is pretty easy now.
  • A few more tests added.

New dependencies.
symfony/yaml - used for data parsing.
guzzlehttp/psr7 - used for api output.
twig/twig - used for pages rendering. Pushed towards segregating actions from representation(dungeon enter happens in ./src/UI/Scene/Dungeons.php while representation happens in ./src/UI/Template/dungeons.html.twig).

@crilleaz crilleaz merged commit 907bd22 into crilleaz:main Aug 29, 2023
@crilleaz
Copy link
Owner

Will have to update index or add a wiki soon!

@skxnxt skxnxt mentioned this pull request Dec 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants