Skip to content

Kheechieng/card-distributor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

card-distributor

A personal playing cards distributor program written in Laravel PHP and run in virtual machine using Docker.

Theme

Playing cards will be given out to n(number) people.

Purpose

Total 52 cards containing 1-13 of each Spade(S), Heart(H), Diamond(D), Club(C) will be given to n people randomly.

Output Format

a. Spade = S, Heart = H, Diamond = D, Club = C  
b. Card 2 to 9 are, as it is, 1=A, 10=X, 11=J, 12=Q, 13=K  
c. The card distributed to the first person on the first row will be separated (comma),  
d. The card distributed to the second person on the second row will be separated(comma),  
e. [LF] is not allowed. Example:  
    S-A,H-X,.....  
    D-3,H-J,.....  

Steps

docker-compose build
docker-compose up -d
docker-compose exec -u root app bash
composer install
composer update
composer dumpautoload -o

Open browser and type http://localhost/login in the address bar.

image image

Invalid input

image

About

A personal card distributor program written in PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages