Card game mechanics in sprite kit with swift | raywenderlich. Com.