This is just a simple laravel code that will generate a tournament bracket with n number participants. This code will generate first round until the final round and make sure that the strongest will be fight on final round. If you have 10 participants than participant number 1 is the strongest and participant number 10 is the weakest.
- PHP 7.2
- Laravel 7.0
- MySQL Database
- Bootstrap 4
- First, you need to clone this repository into your local
- To run this code, you can use VM like Laravel Homestead or for the simple one that I used, you can use Laravel Valet .
- Setup your database env.
- Run migration.
- Run npm install.
- Run
npm run dev
. - Run the website.