Skip to content

[PA2 Extra] Add computer to the game #40

@Sencudra

Description

@Sencudra

Have a “play against the iPhone” mode. Each time a set is found, start a random-length timer (you’ll have to learn how to use Timer.scheduledTimer(withTimeInterval:repeats:) { } for this which uses a
closure!) after which the iPhone picks a set if the user does not pick one first. See who can get the most sets! Maybe represent the iPhone with an emoji somewhere on the screen (� while the timer is running, then maybe � a couple of seconds before the iPhone makes a turn and � if the iPhone wins or � if not)? As always, be sure to give careful thought to your MVC architecture if you tackle this one.

Metadata

Metadata

Assignees

Labels

to doNew feature or requestwontdoneThis will not be done

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions