robertjbass / golang-cards

Generate a deck of cards and manipulate it with Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golang deck of cards

A pointless app to generate a deck of cards, shuffle the cards, and save/read the cards to the filesystem. This is more or less a go syntax reference for me.

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@@@@@@@@@@                           @@@@@@@@@@@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@           ,@@@/,,,,,,,,,,,,,,,,/@@@           %@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@    @@@@@ @@,,,,##*,,,,,,,,,,,,@@@@@@@,,,@@&,,,@@    @@@@@@@@@@@@@
@@@@@@@@@@@@   %@,,,,/@,,@%        #@,,,,,@          @#,,/@@,,,*@   @@@@@@@@@@@@
@@@@@@@@@@@@   @,,@@@,,,@  #         @,,,@ @@@        @*,,,@*,,,@   @@@@@@@@@@@@
@@@@@@@@@@@@   @@,,@,,,/&/@@ %       @,,,@ @@ /       @*,,,,@,@@   @@@@@@@@@@@@@
@@@@@@@@@@@@@&    @,,,,,@.          @#,,,,@          @*,,,,,,@   @@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@   @,,,,,,,%@@   (@@,,@@@@@@,,@@@@@@,,,,,,,,,,@.  @@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@  #%,,,,,,,,,,,,,,,#%.........&,,,,,,,,,,,,,,,*@   @@@@@@@@@@@@@@
@@@@@@@@@@@@@@(  &(,,,,,,,,,,,,,,,,&&&&&@&&&&&,,,,,,,,,,,,,,,,@   @@@@@@@@@@@@@@
@@@@@@@@@@@@@@@  #%,,,,,,,,,,,,,,,,,@, @# ##,,,,,,,,,,,,,,,,,,@   @@@@@@@@@@@@@@
@@@@@@@@@@@@@@@  .@,,,,,,,,,,,,,,,,,,,,,,*,,,,,,,,,,,,,,,,,,,,@   @@@@@@@@@@@@@@
@@@@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,,,,,,,,,,,,,,,,,,,,,,,,@.  @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@   @@,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,@    @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@@    &@,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,@@@    @@@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@   @....,@@,,,,,,,,,,,,,,,,,,,,,,,,@@@...,.@   @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@   &@(..@.      %@@@@@@@@@@@@@@&.       @&.@@   @@@@@@@@@@@@@@@@
@@@@@@@@@@@@@@@@@&         @@@#                   @@@@#        @@@@@@@@@@@@@@@@@

Run tests: go test

Run app: go run .

About

Generate a deck of cards and manipulate it with Go


Languages

Language:Go 100.0%