Skip to content

Simple GO program that randomly assigns countries to the sweepstake participants.

License

Notifications You must be signed in to change notification settings

ewastempel/sweepstake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sweepstake

Simple GO program that randomly assigns countries to the sweepstake participants.

How it works

The sweepstake program uses two json data inputs:

  • data/countries.json which holds information on countries that participate in the World Cup 2022.
  • data/participants.json which holds information on people that participate in the sweepstake.

The sweepstake then produces a map of participants and the countries that have been randomly assigned to them. NOTE: it is possible to buy multiple bets and therefore a number of countries (equal to a number of bets) can be assigned to each participant.

About

Simple GO program that randomly assigns countries to the sweepstake participants.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages