You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement the projects in the blackjack section of gophercises
Deck package for creating deck of cards with optional functions as defined below:
An option to sort the cards with a user-defined comparison function. The sort package in the standard library can be used, expects a less(i, j int) bool function.
A default comparison function that can be used with the sorting option.
An option to shuffle the cards.
An option to add an arbitrary number of jokers to the deck.
An option to filter out specific cards. Many card games are played without 2s and 3s, while others might filter out other cards. We can provide a generic way to handle this as an option.
An option to construct a single deck composed of multiple decks. This is used often enough in games like blackjack that having an option to build a deck of cards with say 3 standard decks can be useful.
The text was updated successfully, but these errors were encountered:
Overview
Implement the projects in the blackjack section of gophercises
Deck package for creating deck of cards with optional functions as defined below:
less(i, j int) bool
function.The text was updated successfully, but these errors were encountered: