{"action":"closed","issue":{"url":"https://api.github.com/repos/dlresende/extreme-carpaccio/issues/52","repository_url":"https://api.github.com/repos/dlresende/extreme-carpaccio","labels_url":"https://api.github.com/repos/dlresende/extreme-carpaccio/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/dlresende/extreme-carpaccio/issues/52/comments","events_url":"https://api.github.com/repos/dlresende/extreme-carpaccio/issues/52/events","html_url":"https://github.com/dlresende/extreme-carpaccio/issues/52","id":153538006,"number":52,"title":"Add \"dynamic\" rules on the fly for taxes calculation","user":{"login":"dlresende","id":960984,"avatar_url":"https://avatars.githubusercontent.com/u/960984?v=3","gravatar_id":"","url":"https://api.github.com/users/dlresende","html_url":"https://github.com/dlresende","followers_url":"https://api.github.com/users/dlresende/followers","following_url":"https://api.github.com/users/dlresende/following{/other_user}","gists_url":"https://api.github.com/users/dlresende/gists{/gist_id}","starred_url":"https://api.github.com/users/dlresende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dlresende/subscriptions","organizations_url":"https://api.github.com/users/dlresende/orgs","repos_url":"https://api.github.com/users/dlresende/repos","events_url":"https://api.github.com/users/dlresende/events{/privacy}","received_events_url":"https://api.github.com/users/dlresende/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dlresende/extreme-carpaccio/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-06T21:05:03Z","updated_at":"2016-05-09T22:02:17Z","closed_at":"2016-05-09T22:02:17Z","body":"Today the problem is very static and sometimes people tend to implement it \"from one shot\". Furthermore, this approach and the /feedback resources don't push participants to test.\r\n\r\nAfter many feedbacks and discussions with others running Extreme Carpaccio, we're willing to add new taxes rules on the fly to push the problem nature from static (at the beginning) to dynamic (during the game).\r\n\r\nTo do so, at some point we'd like to change the taxes strategy leaving the fixed numbers back and start using rules for each country, like : `if(total < 100) return sum * 1.2; else return sum * 1.2 + 10;` "}}