HMDApolis (pronounced hum-dapolis) is a two-player turn-based strategy game utilizing live HMDA data. It was created by @cmc333333, @contolini and @himedlooff during a weekend hackathon at the Consumer Financial Protection Bureau. Art is by @duelj. Icons are from Font Awesome.
How to play
Head over to http://cfpb.github.io/hmdapolis. A board will be randomly generated on page load.
At the start of each turn, a profile is randomly generated for the current player and is shown on the left side of the screen. The profile consists of a year, income and regulatory agency. The current player clicks a mortgage (dollar amount in a hex title) that they think will be approved given the details of their profile and the city adjacent to the clicked mortgage. CFPB's HMDA API is queried to determine the likelihood of the mortgage being approved. If at least 51% of similar real-world mortgages were approved, the player wins that tile. Otherwise, the tile is lost. Play continues to Player #2.
The game ends after all tiles have been won or lost. The player who has "captured" the most cities by having the most won tiles touching it wins the game.
- Install Node and Grunt.
git clone email@example.com:cfpb/hmdapolis.git
npm installto download dependencies.
grunt buildto build everything.
gruntwill start a local server and watch for file changes.
The project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.
Software source code previously released under an open source license and then modified by CFPB staff is considered a "joint work" (see 17 USC § 101); it is partially copyrighted, partially public domain, and as a whole is protected by the copyrights of the non-government authors and must be released according to the terms of the original open-source license.
For further details, please see: http://www.consumerfinance.gov/developers/sourcecodepolicy/