This project provides a decentralized HTTP callback-based architecture for playing card games.
It consists of two types of component:
Games are configured by installing games on the central server as plugins, specifying a callback URL in the plugin config. From that point, users may begin a session of that game on the server, and the server will make calls to its configured URL whenever it needs to update game state.
In this way, developers can easily develop new games, using whatever technologies they like, as long as they can run a simple webserver. The process of implementing a new game is also reduced to simply articulating the rules, rather than having to maintain state or expose any user interaction.
To start your Phoenix server:
npm installinside the
Now you can visit
localhost:4000 from your browser.
Ready to run in production? Please check our deployment guides.