The director of a prison offers 100 death row prisoners, who are numbered from 1 to 100, a last chance. A room contains a cupboard with 100 drawers. The director randomly puts one prisoner's number in each closed drawer. The prisoners enter the room, one after another. Each prisoner may open and look into 50 drawers in any order. The drawers are closed again afterwards. If, during this search, every prisoner finds their number in one of the drawers, all prisoners are pardoned. If even one prisoner does not find their number, all prisoners die. Before the first prisoner enters the room, the prisoners may discuss strategy — but may not communicate once the first prisoner enters to look in the drawers. What is the prisoners' best strategy?
Sample project in a Avalonia v.0.10.21 application. This app helps get start using AvaloniaUI with Prism.Avalonia v8.1.97.1021!
- [Eng] (https://www.youtube.com/watch?v=iSNsgj1OCLA)
- [Ru] (https://www.youtube.com/watch?v=wWQ9YdreY9c)
- AvaloniaUI cross-platform XAML-based GUI framework
- Prism provides your Avalonia apps with Prism framework support so you can navigate and perform dependency injection easier than before
- Material Design XAML controls and styles for Avalonia
- JetBrains Rider and Microsoft Visual Studio IDEs
- AvaloniaRider plugin for visual designer support
- .NET 5