From 01628719b5143dea8ee260dddefb4b5e9640a6cf Mon Sep 17 00:00:00 2001 From: David Britch Date: Mon, 12 Feb 2024 16:26:26 +0000 Subject: [PATCH 1/2] New sample. --- 8.0/Apps/GameOfLife/GameOfLife.sln | 25 ++ 8.0/Apps/GameOfLife/GameOfLife/AboutPage.xaml | 25 ++ .../GameOfLife/GameOfLife/AboutPage.xaml.cs | 20 + 8.0/Apps/GameOfLife/GameOfLife/App.xaml | 26 ++ 8.0/Apps/GameOfLife/GameOfLife/App.xaml.cs | 12 + 8.0/Apps/GameOfLife/GameOfLife/AppShell.xaml | 16 + .../GameOfLife/GameOfLife/AppShell.xaml.cs | 10 + 8.0/Apps/GameOfLife/GameOfLife/GameCell.cs | 39 ++ 8.0/Apps/GameOfLife/GameOfLife/GameGrid.cs | 140 ++++++ .../GameOfLife/GameOfLife/GameOfLife.csproj | 68 +++ 8.0/Apps/GameOfLife/GameOfLife/MainPage.xaml | 23 + .../GameOfLife/GameOfLife/MainPage.xaml.cs | 153 +++++++ 8.0/Apps/GameOfLife/GameOfLife/MauiProgram.cs | 25 ++ .../Platforms/Android/AndroidManifest.xml | 6 + .../Platforms/Android/MainActivity.cs | 11 + .../Platforms/Android/MainApplication.cs | 16 + .../Android/Resources/values/colors.xml | 6 + .../Platforms/MacCatalyst/AppDelegate.cs | 10 + .../Platforms/MacCatalyst/Entitlements.plist | 14 + .../Platforms/MacCatalyst/Info.plist | 38 ++ .../Platforms/MacCatalyst/Program.cs | 16 + .../GameOfLife/Platforms/Tizen/Main.cs | 17 + .../Platforms/Tizen/tizen-manifest.xml | 15 + .../GameOfLife/Platforms/Windows/App.xaml | 9 + .../GameOfLife/Platforms/Windows/App.xaml.cs | 25 ++ .../Platforms/Windows/Package.appxmanifest | 47 ++ .../GameOfLife/Platforms/Windows/app.manifest | 16 + .../GameOfLife/Platforms/iOS/AppDelegate.cs | 10 + .../GameOfLife/Platforms/iOS/Info.plist | 32 ++ .../GameOfLife/Platforms/iOS/Program.cs | 16 + .../GameOfLife/Properties/launchSettings.json | 8 + .../GameOfLife/Resources/AppIcon/appicon.svg | 5 + .../Resources/AppIcon/appiconfg.svg | 8 + .../Resources/Fonts/OpenSans-Regular.ttf | Bin 0 -> 107184 bytes .../Resources/Fonts/OpenSans-Semibold.ttf | Bin 0 -> 111076 bytes .../Resources/Images/dotnet_bot.svg | 95 ++++ .../GameOfLife/Resources/Raw/AboutAssets.txt | 18 + .../GameOfLife/Resources/Splash/splash.svg | 9 + .../GameOfLife/Resources/Styles/Colors.xaml | 47 ++ .../GameOfLife/Resources/Styles/Styles.xaml | 409 ++++++++++++++++++ 8.0/Apps/GameOfLife/README.md | 21 + .../GameOfLife/Screenshots/GameofLife.png | Bin 0 -> 62555 bytes 42 files changed, 1506 insertions(+) create mode 100644 8.0/Apps/GameOfLife/GameOfLife.sln create mode 100644 8.0/Apps/GameOfLife/GameOfLife/AboutPage.xaml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/AboutPage.xaml.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/App.xaml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/App.xaml.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/AppShell.xaml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/AppShell.xaml.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/GameCell.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/GameGrid.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/GameOfLife.csproj create mode 100644 8.0/Apps/GameOfLife/GameOfLife/MainPage.xaml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/MainPage.xaml.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/MauiProgram.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Android/AndroidManifest.xml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainActivity.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Android/MainApplication.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Android/Resources/values/colors.xml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/MacCatalyst/AppDelegate.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/MacCatalyst/Entitlements.plist create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/MacCatalyst/Info.plist create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/MacCatalyst/Program.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Tizen/Main.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Tizen/tizen-manifest.xml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Windows/App.xaml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Windows/App.xaml.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Windows/Package.appxmanifest create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/Windows/app.manifest create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/iOS/AppDelegate.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/iOS/Info.plist create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Platforms/iOS/Program.cs create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Properties/launchSettings.json create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/AppIcon/appicon.svg create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/AppIcon/appiconfg.svg create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Fonts/OpenSans-Regular.ttf create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Fonts/OpenSans-Semibold.ttf create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Images/dotnet_bot.svg create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Raw/AboutAssets.txt create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Splash/splash.svg create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Styles/Colors.xaml create mode 100644 8.0/Apps/GameOfLife/GameOfLife/Resources/Styles/Styles.xaml create mode 100644 8.0/Apps/GameOfLife/README.md create mode 100644 8.0/Apps/GameOfLife/Screenshots/GameofLife.png diff --git a/8.0/Apps/GameOfLife/GameOfLife.sln b/8.0/Apps/GameOfLife/GameOfLife.sln new file mode 100644 index 000000000..3737f2863 --- /dev/null +++ b/8.0/Apps/GameOfLife/GameOfLife.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 25.0.1706.8 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GameOfLife", "GameOfLife\GameOfLife.csproj", "{236EDA58-32B7-4789-8327-FCF9016E8621}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {236EDA58-32B7-4789-8327-FCF9016E8621}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {236EDA58-32B7-4789-8327-FCF9016E8621}.Debug|Any CPU.Build.0 = Debug|Any CPU + {236EDA58-32B7-4789-8327-FCF9016E8621}.Release|Any CPU.ActiveCfg = Release|Any CPU + {236EDA58-32B7-4789-8327-FCF9016E8621}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F4AE3140-D3C9-48F6-A9BB-B90F47B46A66} + EndGlobalSection +EndGlobal diff --git a/8.0/Apps/GameOfLife/GameOfLife/AboutPage.xaml b/8.0/Apps/GameOfLife/GameOfLife/AboutPage.xaml new file mode 100644 index 000000000..d1214a88f --- /dev/null +++ b/8.0/Apps/GameOfLife/GameOfLife/AboutPage.xaml @@ -0,0 +1,25 @@ + + + +