cleentfaar / windmill-bundle
A Symfony bundle providing integration with the Windmill Chess library
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5
- cleentfaar/windmill: dev-master
- jms/serializer-bundle: ~0.12
- symfony/framework-bundle: ~2.6
Requires (Dev)
- phpunit/phpunit: ~4.1
This package is auto-updated.
Last update: 2022-02-01 12:37:33 UTC
README
Implements the Windmill Chess Engine into the Symfony Framework.
Features
- Play and store chess games through easy-to-use services (check out the GameController)
- Storage currently only has
file
andorm
adapters, but you can easily add your own (check out the OrmAdapter for an example). - Custom Twig extension with some useful methods so you can display chess games anywhere in your templates (check out the game-template).
- Console commands so you can even play a game of chess through the Symfony Console!
Check out the documentation below for more information on using these features.
Documentation
Check out the index.
Don't forget to also check out the library's documentation which this bundle implements! It contains more detailed information on the many components (or will do so soon anyway!).
Why the bundle?
The aim of this bundle is to make it easier to work with the many (decoupled, but related) services inside the engine by using the same DIC and templating patterns that are already provided by the framework. Since I use the Symfony Framework for almost all of my own projects, it has become much easier to just adopt my work on their fundamentals.
Like my other projects, I'm also using this to learn working with some techniques I haven't used before.
For this project, a few of them are:
- Make it easy to configure different templates for different sections of a chess game
- Check out other goals in the library's documentation here.