/maradona

Soccer WM Betting App

Primary LanguageRubyMIT LicenseMIT

Build Status Maintainability Test Coverage

Maradona

An online betting game.

Work in Progress: https://tippkick.club

Setup

Project requires Postgres and Redis to be running. Then do:

bin/setup

Test

We use MiniTest

bin/rails test

Data

World Cup 2018

You can load the Worl Cup 2018 game data with following rake task.

rake import:world_cup_2018

It contains data for

  • Venues (Stadiums)
  • Teams (Countries)
  • Matches (Group Stage only, including Kickoff time)

Names

During registration every user will be given a random name that contains of a first_name, last_name and a random number between 10000 and 99999, for example lionel-zidane-22358. This will be used as player_id.

You can load a set of first and last names by running this rake task:

rake import:names

Also during creation, the user gets a nickname which will be initialized with the same value as the player_id.

A nickname can be changed by the users, whereas the player_id cannot be edited. player_id is also used in the URL to identify a user, like so http://localhost:3000/users/lionel-zidane-22358.

License

"Maradona" is released under the MIT License