Skip to content

Instantly share code, notes, and snippets.

@bfdeitch
Created July 19, 2017 20:45
val card1 = Card(4, "DIAMONDS")
val card2 = Card(4, "DIAMONDS")
println(card1) // Card(value=4, suit=DIAMONDS, faceUp=false)
println(card1 == card2) // true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment