Distributed card game based on RESTful architecture style