a game written by swift