Skip to content

A Swift Playgrounds app that explains in a fun and interactive way about the Dining Philosophers problem, made as submission for the WWDC22 Swift Student Challenge.

License

Notifications You must be signed in to change notification settings

DiegoHSO/DinnerRun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dinner Run

Dinner Run - WWDC21 Swift Student Challenge Submission [Accepted 🤯]

About

Roland is on a dinner with his friends, but they are having trouble eating! There are only five forks for five people to eat. 😳

In this playground, you'll help the philosophers to have a proper dinner even if there aren't enough forks for everyone!

Inspired by Concurrent Programming classes I was having in college during the Swift Student Challenge submission period, I created a Playground App that explains in an interactive and fun way about the Dining Philosophers problem.

During the experience, you will face many options that may or may not help the philosophers to have dinner! 🍴

How it's made?

I coded Dinner Run entirely in SwiftUI and customized some amazing assets from Freepik and Flaticon. I used as reference for the explanations an amazing book from M. Ben Ari, called "Principles of concurrent and distributed programming". You can find it here.

Where should I run the Playground?

I made all the code using as base a 5th generation iPad Pro (12.9-inch) on Xcode. If you have an iPad Pro (12.9-inch) with Swift Playgrounds installed and want to play Dinner Run, it should run smoothly.

Demonstration

Click on the image to see the playground in action.

Dinner Run Demo

About

A Swift Playgrounds app that explains in a fun and interactive way about the Dining Philosophers problem, made as submission for the WWDC22 Swift Student Challenge.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages