├── README.md ├── .gitignore ├── ShowDoMilhao ├── Resources │ ├── Images │ │ ├── cartas.png │ │ ├── right_arrow_one.png │ │ ├── right_arrow_two.png │ │ ├── show_do_milhao.png │ │ ├── universitario.png │ │ └── right_arrow_three.png │ ├── Fonts │ │ ├── morganisa.ttf │ │ ├── OpenSans-Regular.ttf │ │ ├── OpenSans-Semibold.ttf │ │ └── Stalysta_personal.ttf │ ├── AppIcon │ │ ├── appicon.svg │ │ └── appiconfg.svg │ ├── Raw │ │ └── AboutAssets.txt │ ├── Splash │ │ └── splash.svg │ └── Styles │ │ ├── Colors.xaml │ │ └── Styles.xaml ├── AppShell.xaml.cs ├── Properties │ └── launchSettings.json ├── App.xaml.cs ├── Platforms │ ├── Android │ │ ├── Resources │ │ │ └── values │ │ │ │ └── colors.xml │ │ ├── MainApplication.cs │ │ ├── AndroidManifest.xml │ │ └── MainActivity.cs │ ├── iOS │ │ ├── AppDelegate.cs │ │ ├── Program.cs │ │ └── Info.plist │ ├── MacCatalyst │ │ ├── AppDelegate.cs │ │ ├── Program.cs │ │ ├── Entitlements.plist │ │ └── Info.plist │ ├── Windows │ │ ├── App.xaml │ │ ├── app.manifest │ │ ├── App.xaml.cs │ │ └── Package.appxmanifest │ └── Tizen │ │ ├── Main.cs │ │ └── tizen-manifest.xml ├── MainPage.xaml.cs ├── AppShell.xaml ├── MauiProgram.cs ├── App.xaml ├── IAjuda.cs ├── MainPage.xaml ├── RetiraErradas.cs ├── Universitario.cs ├── ShowDoMilhao.csproj ├── Questao.cs ├── GamePage.xaml.cs ├── GamePage.xaml └── Gerenciador.cs └── Show_Do_Milhao.sln /README.md: -------------------------------------------------------------------------------- 1 | # Show_Do_Milhao -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /ShowDoMilhao/bin 2 | /ShowDoMilhao/obj -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Images/cartas.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Images/cartas.png -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Fonts/morganisa.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Fonts/morganisa.ttf -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Fonts/OpenSans-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Fonts/OpenSans-Regular.ttf -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Images/right_arrow_one.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Images/right_arrow_one.png -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Images/right_arrow_two.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Images/right_arrow_two.png -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Images/show_do_milhao.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Images/show_do_milhao.png -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Images/universitario.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Images/universitario.png -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Fonts/OpenSans-Semibold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Fonts/OpenSans-Semibold.ttf -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Fonts/Stalysta_personal.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Fonts/Stalysta_personal.ttf -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Images/right_arrow_three.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KINDERzin/Show_Do_Milhao/HEAD/ShowDoMilhao/Resources/Images/right_arrow_three.png -------------------------------------------------------------------------------- /ShowDoMilhao/AppShell.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace ShowDoMilhao; 2 | 3 | public partial class AppShell : Shell 4 | { 5 | public AppShell() 6 | { 7 | InitializeComponent(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ShowDoMilhao/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "profiles": { 3 | "Windows Machine": { 4 | "commandName": "MsixPackage", 5 | "nativeDebugging": false 6 | } 7 | } 8 | } -------------------------------------------------------------------------------- /ShowDoMilhao/App.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace ShowDoMilhao; 2 | 3 | public partial class App : Application 4 | { 5 | public App() 6 | { 7 | InitializeComponent(); 8 | 9 | MainPage = new AppShell(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/AppIcon/appicon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Android/Resources/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #512BD4 4 | #2B0B98 5 | #2B0B98 6 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/iOS/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace ShowDoMilhao; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/MacCatalyst/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | 3 | namespace ShowDoMilhao; 4 | 5 | [Register("AppDelegate")] 6 | public class AppDelegate : MauiUIApplicationDelegate 7 | { 8 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 9 | } 10 | -------------------------------------------------------------------------------- /ShowDoMilhao/MainPage.xaml.cs: -------------------------------------------------------------------------------- 1 | namespace ShowDoMilhao; 2 | 3 | public partial class MainPage : ContentPage 4 | { 5 | public MainPage() 6 | { 7 | InitializeComponent(); 8 | } 9 | 10 | public void botaoComecar(object sender, EventArgs e) 11 | { 12 | Application.Current.MainPage = new GamePage(); 13 | } 14 | } -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Windows/App.xaml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Tizen/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using Microsoft.Maui; 3 | using Microsoft.Maui.Hosting; 4 | 5 | namespace ShowDoMilhao; 6 | 7 | class Program : MauiApplication 8 | { 9 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 10 | 11 | static void Main(string[] args) 12 | { 13 | var app = new Program(); 14 | app.Run(args); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Android/MainApplication.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Runtime; 3 | 4 | namespace ShowDoMilhao; 5 | 6 | [Application] 7 | public class MainApplication : MauiApplication 8 | { 9 | public MainApplication(IntPtr handle, JniHandleOwnership ownership) 10 | : base(handle, ownership) 11 | { 12 | } 13 | 14 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 15 | } 16 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/iOS/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace ShowDoMilhao; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/MacCatalyst/Program.cs: -------------------------------------------------------------------------------- 1 | using ObjCRuntime; 2 | using UIKit; 3 | 4 | namespace ShowDoMilhao; 5 | 6 | public class Program 7 | { 8 | // This is the main entry point of the application. 9 | static void Main(string[] args) 10 | { 11 | // if you want to use a different Application Delegate class from "AppDelegate" 12 | // you can specify it here. 13 | UIApplication.Main(args, null, typeof(AppDelegate)); 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Android/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Android/MainActivity.cs: -------------------------------------------------------------------------------- 1 | using Android.App; 2 | using Android.Content.PM; 3 | using Android.OS; 4 | 5 | namespace ShowDoMilhao; 6 | 7 | [Activity(Theme = "@style/Maui.SplashTheme", MainLauncher = true, LaunchMode = LaunchMode.SingleTop, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation | ConfigChanges.UiMode | ConfigChanges.ScreenLayout | ConfigChanges.SmallestScreenSize | ConfigChanges.Density)] 8 | public class MainActivity : MauiAppCompatActivity 9 | { 10 | } 11 | -------------------------------------------------------------------------------- /ShowDoMilhao/AppShell.xaml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /ShowDoMilhao/MauiProgram.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.Extensions.Logging; 2 | 3 | namespace ShowDoMilhao; 4 | 5 | public static class MauiProgram 6 | { 7 | public static MauiApp CreateMauiApp() 8 | { 9 | var builder = MauiApp.CreateBuilder(); 10 | builder 11 | .UseMauiApp() 12 | .ConfigureFonts(fonts => 13 | { 14 | fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular"); 15 | fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold"); 16 | fonts.AddFont("Stalysta_personal.ttf", "StalystaPersonal"); 17 | fonts.AddFont("morganisa.ttf", "morganisa"); 18 | }); 19 | 20 | #if DEBUG 21 | builder.Logging.AddDebug(); 22 | #endif 23 | 24 | return builder.Build(); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /ShowDoMilhao/App.xaml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ShowDoMilhao/Resources/Raw/AboutAssets.txt: -------------------------------------------------------------------------------- 1 | Any raw assets you want to be deployed with your application can be placed in 2 | this directory (and child directories). Deployment of the asset to your application 3 | is automatically handled by the following `MauiAsset` Build Action within your `.csproj`. 4 | 5 | 6 | 7 | These files will be deployed with your package and will be accessible using Essentials: 8 | 9 | async Task LoadMauiAsset() 10 | { 11 | using var stream = await FileSystem.OpenAppPackageFileAsync("AboutAssets.txt"); 12 | using var reader = new StreamReader(stream); 13 | 14 | var contents = reader.ReadToEnd(); 15 | } 16 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/MacCatalyst/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | com.apple.security.app-sandbox 8 | 9 | 10 | com.apple.security.network.client 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Windows/app.manifest: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 11 | true/PM 12 | PerMonitorV2, PerMonitor 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Tizen/tizen-manifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | maui-appicon-placeholder 7 | 8 | 9 | 10 | 11 | http://tizen.org/privilege/internet 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /ShowDoMilhao/Platforms/Windows/App.xaml.cs: -------------------------------------------------------------------------------- 1 | using Microsoft.UI.Xaml; 2 | 3 | // To learn more about WinUI, the WinUI project structure, 4 | // and more about our project templates, see: http://aka.ms/winui-project-info. 5 | 6 | namespace ShowDoMilhao.WinUI; 7 | 8 | /// 9 | /// Provides application-specific behavior to supplement the default Application class. 10 | /// 11 | public partial class App : MauiWinUIApplication 12 | { 13 | /// 14 | /// Initializes the singleton application object. This is the first line of authored code 15 | /// executed, and as such is the logical equivalent of main() or WinMain(). 16 | /// 17 | public App() 18 | { 19 | this.InitializeComponent(); 20 | } 21 | 22 | protected override MauiApp CreateMauiApp() => MauiProgram.CreateMauiApp(); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /ShowDoMilhao/IAjuda.cs: -------------------------------------------------------------------------------- 1 | using ShowDoMilhao; 2 | 3 | public abstract class IAjuda 4 | { 5 | protected Button BtnResp01; 6 | protected Button BtnResp02; 7 | protected Button BtnResp03; 8 | protected Button BtnResp04; 9 | protected Button BtnResp05; 10 | protected Frame FrameAjuda; 11 | 12 | public void ConfiguraEstruturaDesenho(Button BtnResp01, Button BtnResp02, Button BtnResp03, Button BtnResp04, Button BtnResp05) 13 | { 14 | this.BtnResp01 = BtnResp01; 15 | this.BtnResp02 = BtnResp02; 16 | this.BtnResp03 = BtnResp03; 17 | this.BtnResp04 = BtnResp04; 18 | this.BtnResp05 = BtnResp05; 19 | } 20 | 21 | public void ConfiguraEstruturaDesenho(Frame AjudaFrame) 22 | { 23 | this.FrameAjuda = FrameAjuda; 24 | } 25 | 26 | public abstract void RealizaAjuda(Questao questao); 27 | } -------------------------------------------------------------------------------- /ShowDoMilhao/MainPage.xaml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 16 | 17 |