Add 2048 Game

This commit is contained in:
Ivan Vorobei
2019-06-06 22:28:01 +03:00
parent bcedea412a
commit 5eaf1fbc68
20 changed files with 1390 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
//
// FunctionalUtils.swift
// SwiftUI2048
//
// Created by Hongyu on 6/5/19.
// Copyright © 2019 Cyandev. All rights reserved.
//
import Foundation
func bind<T, U>(_ x: T, _ closure: (T) -> U) -> U {
return closure(x)
}