├── 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 |
--------------------------------------------------------------------------------
/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 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Platforms/iOS/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | LSRequiresIPhoneOS
6 |
7 | UIDeviceFamily
8 |
9 | 1
10 | 2
11 |
12 | UIRequiredDeviceCapabilities
13 |
14 | arm64
15 |
16 | UISupportedInterfaceOrientations
17 |
18 | UIInterfaceOrientationPortrait
19 | UIInterfaceOrientationLandscapeLeft
20 | UIInterfaceOrientationLandscapeRight
21 |
22 | UISupportedInterfaceOrientations~ipad
23 |
24 | UIInterfaceOrientationPortrait
25 | UIInterfaceOrientationPortraitUpsideDown
26 | UIInterfaceOrientationLandscapeLeft
27 | UIInterfaceOrientationLandscapeRight
28 |
29 | XSAppIconAssets
30 | Assets.xcassets/appicon.appiconset
31 |
32 |
33 |
--------------------------------------------------------------------------------
/Show_Do_Milhao.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 17
4 | VisualStudioVersion = 17.5.002.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ShowDoMilhao", "ShowDoMilhao\ShowDoMilhao.csproj", "{E31CAE39-222A-4FE6-9F66-7A89B26AC8EF}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {E31CAE39-222A-4FE6-9F66-7A89B26AC8EF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {E31CAE39-222A-4FE6-9F66-7A89B26AC8EF}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {E31CAE39-222A-4FE6-9F66-7A89B26AC8EF}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {E31CAE39-222A-4FE6-9F66-7A89B26AC8EF}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {8EE1F108-C064-4F01-9E46-60A35DF71159}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/ShowDoMilhao/RetiraErradas.cs:
--------------------------------------------------------------------------------
1 | using ShowDoMilhao;
2 |
3 | public class RetiraErradas : IAjuda
4 | {
5 | public override void RealizaAjuda(Questao questao)
6 | {
7 | switch (questao.RespostaCerta)
8 | {
9 | case 1:
10 | BtnResp02.IsVisible = false;
11 | BtnResp03.IsVisible = false;
12 | BtnResp04.IsVisible = false;
13 |
14 | break;
15 |
16 | case 2:
17 | BtnResp01.IsVisible = false;
18 | BtnResp03.IsVisible = false;
19 | BtnResp05.IsVisible = false;
20 |
21 | break;
22 |
23 | case 3:
24 | BtnResp01.IsVisible = false;
25 | BtnResp02.IsVisible = false;
26 | BtnResp04.IsVisible = false;
27 |
28 | break;
29 |
30 | case 4:
31 | BtnResp03.IsVisible = false;
32 | BtnResp02.IsVisible = false;
33 | BtnResp05.IsVisible = false;
34 |
35 | break;
36 |
37 | case 5:
38 | BtnResp02.IsVisible = false;
39 | BtnResp03.IsVisible = false;
40 | BtnResp04.IsVisible = false;
41 |
42 | break;
43 | }
44 | }
45 | }
--------------------------------------------------------------------------------
/ShowDoMilhao/Universitario.cs:
--------------------------------------------------------------------------------
1 | namespace ShowDoMilhao;
2 |
3 | public partial class Universitario : IAjuda
4 | {
5 | public override void RealizaAjuda(Questao questao)
6 | {
7 | var porcentagem = 100;
8 |
9 | for (int i = 0; i < 5; i++)
10 | {
11 | int numRandomico = 0;
12 |
13 | if(porcentagem > 0)
14 | {
15 | numRandomico = Random.Shared.Next(0, porcentagem);
16 | porcentagem -= numRandomico;
17 |
18 | switch(i)
19 | {
20 | case 0:
21 | BtnResp01.Text += ":" + numRandomico.ToString() + "%";
22 | break;
23 |
24 | case 1:
25 | BtnResp02.Text += ":" + numRandomico.ToString() + "%";
26 | break;
27 |
28 | case 2:
29 | BtnResp03.Text += ":" + numRandomico.ToString() + "%";
30 | break;
31 |
32 | case 3:
33 | BtnResp04.Text += ":" + numRandomico.ToString() + "%";
34 | break;
35 |
36 | case 4:
37 | BtnResp05.Text += ":" + numRandomico.ToString() + "%";
38 | break;
39 | }
40 | }
41 | }
42 | }
43 | }
--------------------------------------------------------------------------------
/ShowDoMilhao/Platforms/MacCatalyst/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | UIDeviceFamily
15 |
16 | 2
17 |
18 | UIRequiredDeviceCapabilities
19 |
20 | arm64
21 |
22 | UISupportedInterfaceOrientations
23 |
24 | UIInterfaceOrientationPortrait
25 | UIInterfaceOrientationLandscapeLeft
26 | UIInterfaceOrientationLandscapeRight
27 |
28 | UISupportedInterfaceOrientations~ipad
29 |
30 | UIInterfaceOrientationPortrait
31 | UIInterfaceOrientationPortraitUpsideDown
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | XSAppIconAssets
36 | Assets.xcassets/appicon.appiconset
37 |
38 |
39 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Resources/Splash/splash.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Resources/AppIcon/appiconfg.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Platforms/Windows/Package.appxmanifest:
--------------------------------------------------------------------------------
1 |
2 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | $placeholder$
15 | User Name
16 | $placeholder$.png
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Resources/Styles/Colors.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
8 |
9 | #512BD4
10 | #ac99ea
11 | #242424
12 | #DFD8F7
13 | #9880e5
14 | #2B0B98
15 |
16 | White
17 | Black
18 | #D600AA
19 | #190649
20 | #1f1f1f
21 |
22 | #E1E1E1
23 | #C8C8C8
24 | #ACACAC
25 | #919191
26 | #6E6E6E
27 | #404040
28 | #212121
29 | #141414
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/ShowDoMilhao/ShowDoMilhao.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | net8.0-android;net8.0-ios;net8.0-maccatalyst
5 | $(TargetFrameworks);net8.0-windows10.0.19041.0
6 |
7 |
8 |
9 |
14 |
15 |
16 | Exe
17 | ShowDoMilhao
18 | true
19 | true
20 | enable
21 | enable
22 |
23 |
24 | ShowDoMilhao
25 |
26 |
27 | com.companyname.showdomilhao
28 |
29 |
30 | 1.0
31 | 1
32 |
33 | 11.0
34 | 13.1
35 | 21.0
36 | 10.0.17763.0
37 | 10.0.17763.0
38 | 6.5
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Questao.cs:
--------------------------------------------------------------------------------
1 | namespace ShowDoMilhao;
2 |
3 | public class Questao : IEquatable
4 | {
5 | // Texto de Pergunta
6 | public string Pergunta;
7 | //Texto dos botão 1
8 | public string Resposta1;
9 | //Texto dos botão 2
10 | public string Resposta2;
11 | //Texto dos botão 3
12 | public string Resposta3;
13 | //Texto dos botão 4
14 | public string Resposta4;
15 | //Texto dos botão 5
16 | public string Resposta5;
17 | // Botão da resposta certa
18 | public int RespostaCerta;
19 | //Nível da pergunta
20 | public int NivelResposta;
21 | //Label da pergunta
22 | private Label LabelPergunta;
23 | //Botão 1
24 | private Button ButtonResposta1;
25 | //Botão 2
26 | private Button ButtonResposta2;
27 | //Botão 3
28 | private Button ButtonResposta3;
29 | //Botão 4
30 | private Button ButtonResposta4;
31 | //Botão 5
32 | private Button ButtonResposta5;
33 | //Frame de GameOver
34 | private Frame FrameGameOver;
35 |
36 | public bool Equals(Questao q)
37 | {
38 | return this.NivelResposta == q.NivelResposta && this.Pergunta == q.Pergunta;
39 | }
40 |
41 | public Questao()
42 | {
43 |
44 | }
45 |
46 | public Questao(Label labelpergunta, Button button1, Button button2, Button button3, Button button4, Button button5, Frame frameGameOver)
47 | {
48 | LabelPergunta = labelpergunta;
49 | ButtonResposta1 = button1;
50 | ButtonResposta2 = button2;
51 | ButtonResposta3 = button3;
52 | ButtonResposta4 = button4;
53 | ButtonResposta5 = button5;
54 | FrameGameOver = frameGameOver;
55 | }
56 |
57 | public void ConfiguraEstruturaDesenho(Label labelpergunta, Button button1, Button button2, Button button3, Button button4, Button button5, Frame frameGameOver)
58 | {
59 | LabelPergunta = labelpergunta;
60 | ButtonResposta1 = button1;
61 | ButtonResposta2 = button2;
62 | ButtonResposta3 = button3;
63 | ButtonResposta4 = button4;
64 | ButtonResposta5 = button5;
65 | FrameGameOver = frameGameOver;
66 | }
67 |
68 | public void Desenhar()
69 | {
70 | LabelPergunta.Text = Pergunta;
71 | ButtonResposta1.Text = Resposta1;
72 | ButtonResposta2.Text = Resposta2;
73 | ButtonResposta3.Text = Resposta3;
74 | ButtonResposta4.Text = Resposta4;
75 | ButtonResposta5.Text = Resposta5;
76 |
77 | ButtonResposta1.IsVisible = true;
78 | ButtonResposta2.IsVisible = true;
79 | ButtonResposta3.IsVisible = true;
80 | ButtonResposta4.IsVisible = true;
81 | ButtonResposta5.IsVisible = true;
82 | FrameGameOver.IsVisible = false;
83 | }
84 |
85 | private Button QualButton(int r)
86 | {
87 | if (r == 1)
88 | {
89 | return ButtonResposta1;
90 | }
91 | else if (r == 2)
92 | {
93 | return ButtonResposta2;
94 | }
95 | else if (r == 3)
96 | {
97 | return ButtonResposta3;
98 | }
99 | else if (r == 4)
100 | {
101 | return ButtonResposta4;
102 | }
103 | else if (r == 5)
104 | {
105 | return ButtonResposta5;
106 | }
107 | else
108 | {
109 | return null;
110 | }
111 | }
112 |
113 | public bool VerificaResposta(int rr)
114 | {
115 | if (RespostaCerta == rr)
116 | {
117 | var button = QualButton(rr);
118 | button.BackgroundColor = Colors.Green; //"#a1c9ae";
119 |
120 | return true;
121 | }
122 | else
123 | {
124 | var buttonCorreto = QualButton(RespostaCerta);
125 | var buttonIncorreto = QualButton(rr);
126 | buttonCorreto.BackgroundColor = Colors.Green; //"#a1c9ae";
127 | buttonIncorreto.BackgroundColor = Colors.Red; //#e88e8e;
128 |
129 | return false;
130 | }
131 | }
132 | }
--------------------------------------------------------------------------------
/ShowDoMilhao/GamePage.xaml.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.UI.Text;
2 |
3 | namespace ShowDoMilhao;
4 |
5 | public partial class GamePage
6 | {
7 | Gerenciador gerenciador;
8 | Questao questao;
9 | public GamePage()
10 | {
11 | InitializeComponent();
12 |
13 | gerenciador = new Gerenciador(labelPergunta, Resposta01, Resposta02, Resposta03, Resposta04, Resposta05, labelNivel, labelPontuacao, frameGameOver);
14 | gerenciador.ProximaQuestao();
15 | }
16 |
17 | void ClicouBotaoUniversitario01(object s, EventArgs e){
18 | gerenciador.VerificaCorreta(1);
19 | frameUniversitarios.IsVisible = false;
20 | }
21 |
22 | void ClicouBotaoUniversitario02(object s, EventArgs e){
23 | gerenciador.VerificaCorreta(2);
24 | frameUniversitarios.IsVisible = false;
25 | }
26 |
27 | void ClicouBotaoUniversitario03(object s, EventArgs e){
28 | gerenciador.VerificaCorreta(3);
29 | frameUniversitarios.IsVisible = false;
30 | }
31 |
32 | void ClicouBotaoUniversitario04(object s, EventArgs e){
33 | gerenciador.VerificaCorreta(4);
34 | frameUniversitarios.IsVisible = false;
35 | }
36 |
37 | void ClicouBotaoUniversitario05(object s, EventArgs e){
38 | gerenciador.VerificaCorreta(5);
39 | frameUniversitarios.IsVisible = false;
40 | }
41 |
42 | void clicouBotaoResposta01(object sender, EventArgs args)
43 | {
44 | gerenciador.VerificaCorreta(1);
45 |
46 | if (questao.RespostaCerta == 1)
47 | frameGameOver.IsVisible = false;
48 | else
49 | frameGameOver.IsVisible = true;
50 | }
51 |
52 | void clicouBotaoResposta02(object sender, EventArgs args)
53 | {
54 | gerenciador.VerificaCorreta(2);
55 |
56 | if (questao.RespostaCerta == 2)
57 | frameGameOver.IsVisible = false;
58 | else
59 | frameGameOver.IsVisible = true;
60 | }
61 |
62 | void clicouBotaoResposta03(object sender, EventArgs args)
63 | {
64 | gerenciador.VerificaCorreta(3);
65 |
66 | if (questao.RespostaCerta == 3)
67 | frameGameOver.IsVisible = false;
68 | else
69 | frameGameOver.IsVisible = true;
70 | }
71 |
72 | void clicouBotaoResposta04(object sender, EventArgs args)
73 | {
74 | gerenciador.VerificaCorreta(4);
75 |
76 | if (questao.RespostaCerta == 4)
77 | frameGameOver.IsVisible = false;
78 | else
79 | frameGameOver.IsVisible = true;
80 | }
81 |
82 | void clicouBotaoResposta05(object sender, EventArgs e)
83 | {
84 | gerenciador.VerificaCorreta(5);
85 |
86 | if (questao.RespostaCerta == 5)
87 | frameGameOver.IsVisible = false;
88 | else
89 | frameGameOver.IsVisible = true;
90 | }
91 |
92 | void OnUniversitariosClicked(object s, EventArgs e)
93 | {
94 | frameUniversitarios.IsVisible = true;
95 | (s as Button).IsVisible = false;
96 |
97 | var ajuda = new Universitario();
98 | ajuda.ConfiguraEstruturaDesenho(universitarioUm, universitarioDois, universitarioTres, universitarioQuatro , universitarioCinco);
99 | }
100 |
101 | int i = 3;
102 |
103 | void OnAjudaPulaClicked(object s, EventArgs e)
104 | {
105 | gerenciador.ProximaQuestao();
106 | i--;
107 | switch (i)
108 | {
109 | case 3:
110 | botaoPular.ImageSource = "right_arrow_three.png";
111 | break;
112 |
113 | case 2:
114 | botaoPular.ImageSource = "right_arrow_two.png";
115 | break;
116 |
117 | case 1:
118 | botaoPular.ImageSource = "right_arrow_one.png";
119 | break;
120 | }
121 | if (i < 1)
122 | (s as Button).IsVisible = false;
123 | }
124 |
125 | void OnAjudaRetirarCliecked(object s, EventArgs e)
126 | {
127 | var ajuda = new RetiraErradas();
128 | ajuda.ConfiguraEstruturaDesenho(Resposta01, Resposta02, Resposta03, Resposta04, Resposta05);
129 | ajuda.RealizaAjuda(gerenciador.GetQuestaoAtual());
130 | (s as Button).IsVisible = false;
131 | }
132 |
133 | void BotaoRecomecar(object s, EventArgs e)
134 | {
135 | gerenciador.Initialize();
136 | frameGameOver.IsVisible = false;
137 | }
138 | }
--------------------------------------------------------------------------------
/ShowDoMilhao/GamePage.xaml:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
34 |
35 |
44 |
45 |
53 |
54 |
62 |
63 |
64 |
69 |
75 |
76 |
77 |
78 |
89 |
90 |
101 |
102 |
113 |
114 |
125 |
126 |
137 |
138 |
148 |
149 |
160 |
161 |
170 |
171 |
179 |
180 |
186 |
187 |
196 |
197 |
206 |
207 |
216 |
217 |
226 |
227 |
236 |
237 |
238 |
239 |
246 |
247 |
251 |
252 |
259 |
260 |
268 |
269 |
270 |
271 |
272 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Resources/Styles/Styles.xaml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
7 |
10 |
11 |
15 |
16 |
21 |
22 |
25 |
26 |
51 |
52 |
69 |
70 |
90 |
91 |
112 |
113 |
134 |
135 |
141 |
142 |
163 |
164 |
182 |
183 |
186 |
187 |
193 |
194 |
200 |
201 |
205 |
206 |
228 |
229 |
244 |
245 |
265 |
266 |
269 |
270 |
293 |
294 |
314 |
315 |
321 |
322 |
341 |
342 |
345 |
346 |
374 |
375 |
395 |
396 |
400 |
401 |
413 |
414 |
419 |
420 |
426 |
427 |
428 |
--------------------------------------------------------------------------------
/ShowDoMilhao/Gerenciador.cs:
--------------------------------------------------------------------------------
1 | using ShowDoMilhao;
2 |
3 | namespace ShowDoMilhao;
4 |
5 | public class Gerenciador
6 | {
7 |
8 | List listaTodasQuestoes = new List();
9 | List listaTodasQuestaoRespondidas = new List();
10 | Questao questaoAtual;
11 | GamePage gamePage;
12 |
13 | public int Pontuacao { get; private set; }
14 |
15 | Label labelPontuacao;
16 | Label labelNivel;
17 | int NivelResposta = 1;
18 | Frame FrameGameOver;
19 |
20 | public void Initialize()
21 | {
22 | Pontuacao = 0;
23 | NivelResposta = 1;
24 | ProximaQuestao();
25 | FrameGameOver.IsVisible = false;
26 | }
27 |
28 | public Questao GetQuestaoAtual()
29 | {
30 | return questaoAtual;
31 | }
32 |
33 | public Gerenciador(Label labelPergunta, Button buttonResposta01, Button buttonResposta02, Button buttonResposta03, Button buttonResposta04, Button buttonResposta05, Label labelNivel, Label labelPontuacao, Frame frameGameOver)
34 | {
35 | CriarQuestoes(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
36 | this.labelNivel = labelNivel;
37 | this.labelPontuacao = labelPontuacao;
38 | FrameGameOver = frameGameOver;
39 | }
40 |
41 | //Arrumar questões
42 | void CriarQuestoes(Label labelPergunta, Button buttonResposta01, Button buttonResposta02, Button buttonResposta03, Button buttonResposta04, Button buttonResposta05, Frame frameGameOver)
43 | {
44 |
45 | var q1 = new Questao();
46 |
47 | q1.NivelResposta = 1;
48 |
49 | q1.Pergunta = "Quanto é 2 + 2";
50 | q1.Resposta1 = "Bolsonaro";
51 | q1.Resposta2 = "13";
52 | q1.Resposta3 = "4";
53 | q1.Resposta4 = "6";
54 | q1.Resposta5 = "0";
55 |
56 | q1.RespostaCerta = 3;
57 | q1.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
58 | listaTodasQuestoes.Add(q1);
59 |
60 | var q2 = new Questao();
61 | q2.Pergunta = "Qual a capital da França?";
62 | q2.Resposta1 = "Berlim";
63 | q2.Resposta2 = "Paris";
64 | q2.Resposta3 = "Madrid";
65 | q2.Resposta4 = "Lisboa";
66 | q2.Resposta5 = "Roma";
67 |
68 | q2.RespostaCerta = 2;
69 | q2.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
70 | listaTodasQuestoes.Add(q2);
71 |
72 | var q3 = new Questao();
73 |
74 | q3.NivelResposta = 1;
75 |
76 | q3.Pergunta = "Qual é a cor do céu em um dia limpo?";
77 | q3.Resposta1 = "Verde";
78 | q3.Resposta2 = "Azul";
79 | q3.Resposta3 = "Amarelo";
80 | q3.Resposta4 = "Vermelho";
81 | q3.Resposta5 = "Preto";
82 |
83 | q3.RespostaCerta = 2;
84 | q3.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
85 | listaTodasQuestoes.Add(q3);
86 |
87 | var q4 = new Questao();
88 | q4.Pergunta = "Qual é o maior planeta do sistema solar?";
89 | q4.Resposta1 = "Terra";
90 | q4.Resposta2 = "Marte";
91 | q4.Resposta3 = "Júpiter";
92 | q4.Resposta4 = "Saturno";
93 | q4.Resposta5 = "Netuno";
94 |
95 | q4.RespostaCerta = 3;
96 | q4.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
97 | listaTodasQuestoes.Add(q4);
98 |
99 | var q5 = new Questao();
100 | q5.Pergunta = "Quem escreveu 'Dom Casmurro'?";
101 | q5.Resposta1 = "Machado de Assis";
102 | q5.Resposta2 = "José de Alencar";
103 | q5.Resposta3 = "Jorge Amado";
104 | q5.Resposta4 = "Clarice Lispector";
105 | q5.Resposta5 = "Graciliano Ramos";
106 |
107 | q5.RespostaCerta = 1;
108 | q5.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
109 | listaTodasQuestoes.Add(q5);
110 |
111 | var q6 = new Questao();
112 | q6.Pergunta = "Quantos continentes existem?";
113 | q6.Resposta1 = "5";
114 | q6.Resposta2 = "6";
115 | q6.Resposta3 = "7";
116 | q6.Resposta4 = "4";
117 | q6.Resposta5 = "8";
118 |
119 | q6.RespostaCerta = 3;
120 | q6.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
121 | listaTodasQuestoes.Add(q6);
122 |
123 | var q7 = new Questao();
124 | q7.Pergunta = "Qual é a fórmula da água?";
125 | q7.Resposta1 = "H2O";
126 | q7.Resposta2 = "O2";
127 | q7.Resposta3 = "CO2";
128 | q7.Resposta4 = "NaCl";
129 | q7.Resposta5 = "C6H12O6";
130 |
131 | q7.RespostaCerta = 1;
132 | q7.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
133 | listaTodasQuestoes.Add(q7);
134 |
135 | var q8 = new Questao();
136 | q8.Pergunta = "Qual é a língua mais falada do mundo?";
137 | q8.Resposta1 = "Inglês";
138 | q8.Resposta2 = "Mandarim";
139 | q8.Resposta3 = "Espanhol";
140 | q8.Resposta4 = "Francês";
141 | q8.Resposta5 = "Árabe";
142 |
143 | q8.RespostaCerta = 2;
144 | q8.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
145 | listaTodasQuestoes.Add(q8);
146 |
147 | var q9 = new Questao();
148 | q9.Pergunta = "Quem pintou a Mona Lisa?";
149 | q9.Resposta1 = "Vincent van Gogh";
150 | q9.Resposta2 = "Leonardo da Vinci";
151 | q9.Resposta3 = "Pablo Picasso";
152 | q9.Resposta4 = "Claude Monet";
153 | q9.Resposta5 = "Michelangelo";
154 |
155 | q9.RespostaCerta = 2;
156 | q9.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
157 | listaTodasQuestoes.Add(q9);
158 |
159 | var q10 = new Questao();
160 | q10.Pergunta = "Qual é o maior oceano do mundo?";
161 | q10.Resposta1 = "Oceano Atlântico";
162 | q10.Resposta2 = "Oceano Índico";
163 | q10.Resposta3 = "Oceano Pacífico";
164 | q10.Resposta4 = "Oceano Ártico";
165 | q10.Resposta5 = "Oceano Antártico";
166 |
167 | q10.RespostaCerta = 3;
168 | q10.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
169 | listaTodasQuestoes.Add(q10);
170 |
171 | var q11 = new Questao();
172 | q11.Pergunta = "Qual é o elemento químico com símbolo O?";
173 | q11.Resposta1 = "Oxigênio";
174 | q11.Resposta2 = "Ouro";
175 | q11.Resposta3 = "Prata";
176 | q11.Resposta4 = "Cálcio";
177 | q11.Resposta5 = "Nitrogênio";
178 |
179 | q11.RespostaCerta = 1;
180 | q11.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
181 | listaTodasQuestoes.Add(q11);
182 |
183 | var q12 = new Questao();
184 |
185 | q12.NivelResposta = 1;
186 |
187 | q12.Pergunta = "Qual animal é conhecido como o 'rei da selva'?";
188 | q12.Resposta1 = "Elefante";
189 | q12.Resposta2 = "Tigre";
190 | q12.Resposta3 = "Leão";
191 | q12.Resposta4 = "Urso";
192 | q12.Resposta5 = "Gorila";
193 |
194 | q12.RespostaCerta = 3;
195 | q12.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
196 | listaTodasQuestoes.Add(q12);
197 |
198 | var q13 = new Questao();
199 | q13.Pergunta = "Qual é a moeda do Japão?";
200 | q13.Resposta1 = "Yuan";
201 | q13.Resposta2 = "Won";
202 | q13.Resposta3 = "Yen";
203 | q13.Resposta4 = "Dólar";
204 | q13.Resposta5 = "Euro";
205 |
206 | q13.RespostaCerta = 3;
207 | q13.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
208 | listaTodasQuestoes.Add(q13);
209 |
210 | var q14 = new Questao();
211 | q14.Pergunta = "Qual é o nome do famoso relógio de Londres?";
212 | q14.Resposta1 = "Big Ben";
213 | q14.Resposta2 = "Tower Bridge";
214 | q14.Resposta3 = "London Eye";
215 | q14.Resposta4 = "Buckingham Palace";
216 | q14.Resposta5 = "Westminster Abbey";
217 |
218 | q14.RespostaCerta = 1;
219 | q14.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
220 | listaTodasQuestoes.Add(q14);
221 |
222 | var q15 = new Questao();
223 | q15.Pergunta = "Quem é o autor de 'A Moreninha'?";
224 | q15.Resposta1 = "Joaquim Manuel de Macedo";
225 | q15.Resposta2 = "Machado de Assis";
226 | q15.Resposta3 = "José de Alencar";
227 | q15.Resposta4 = "Aluísio Azevedo";
228 | q15.Resposta5 = "Eça de Queirós";
229 |
230 | q15.RespostaCerta = 1;
231 | q15.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
232 | listaTodasQuestoes.Add(q15);
233 |
234 | var q16 = new Questao();
235 | q16.Pergunta = "Qual planeta é conhecido como o 'planeta vermelho'?";
236 | q16.Resposta1 = "Marte";
237 | q16.Resposta2 = "Vênus";
238 | q16.Resposta3 = "Júpiter";
239 | q16.Resposta4 = "Saturno";
240 | q16.Resposta5 = "Mercúrio";
241 |
242 | q16.RespostaCerta = 1;
243 | q16.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
244 | listaTodasQuestoes.Add(q16);
245 |
246 | var q17 = new Questao();
247 |
248 | q17.NivelResposta = 2;
249 |
250 | q17.Pergunta = "Qual é o maior mamífero do mundo?";
251 | q17.Resposta1 = "Elefante";
252 | q17.Resposta2 = "Baleia Azul";
253 | q17.Resposta3 = "Girafa";
254 | q17.Resposta4 = "Tubarão-Baleia";
255 | q17.Resposta5 = "Orca";
256 |
257 | q17.RespostaCerta = 2;
258 | q17.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
259 | listaTodasQuestoes.Add(q17);
260 |
261 | var q18 = new Questao();
262 | q18.Pergunta = "Qual é a capital da Itália?";
263 | q18.Resposta1 = "Roma";
264 | q18.Resposta2 = "Milão";
265 | q18.Resposta3 = "Nápoles";
266 | q18.Resposta4 = "Florença";
267 | q18.Resposta5 = "Veneza";
268 |
269 | q18.RespostaCerta = 1;
270 | q18.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
271 | listaTodasQuestoes.Add(q18);
272 |
273 | var q19 = new Questao();
274 | q19.Pergunta = "Quem descobriu a penicilina?";
275 | q19.Resposta1 = "Louis Pasteur";
276 | q19.Resposta2 = "Alexander Fleming";
277 | q19.Resposta3 = "Marie Curie";
278 | q19.Resposta4 = "Isaac Newton";
279 | q19.Resposta5 = "Charles Darwin";
280 |
281 | q19.RespostaCerta = 2;
282 | q19.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
283 | listaTodasQuestoes.Add(q19);
284 |
285 | var q20 = new Questao();
286 | q20.Pergunta = "Qual é o país famoso por seus cangurus?";
287 | q20.Resposta1 = "Austrália";
288 | q20.Resposta2 = "Canadá";
289 | q20.Resposta3 = "África do Sul";
290 | q20.Resposta4 = "Brasil";
291 | q20.Resposta5 = "Nova Zelândia";
292 |
293 | q20.RespostaCerta = 1;
294 | q20.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
295 | listaTodasQuestoes.Add(q20);
296 |
297 | var q21 = new Questao();
298 | q21.Pergunta = "Qual é a principal religião da Índia?";
299 | q21.Resposta1 = "Cristianismo";
300 | q21.Resposta2 = "Hinduísmo";
301 | q21.Resposta3 = "Islamismo";
302 | q21.Resposta4 = "Budismo";
303 | q21.Resposta5 = "Judaísmo";
304 |
305 | q21.RespostaCerta = 2;
306 | q21.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
307 | listaTodasQuestoes.Add(q21);
308 |
309 | var q22 = new Questao();
310 |
311 | q22.NivelResposta = 1;
312 |
313 | q22.Pergunta = "Qual é a língua oficial do Brasil?";
314 | q22.Resposta1 = "Espanhol";
315 | q22.Resposta2 = "Inglês";
316 | q22.Resposta3 = "Francês";
317 | q22.Resposta4 = "Português";
318 | q22.Resposta5 = "Italiano";
319 |
320 | q22.RespostaCerta = 4;
321 | q22.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
322 | listaTodasQuestoes.Add(q22);
323 |
324 | var q23 = new Questao();
325 | q23.Pergunta = "Qual é o menor país do mundo?";
326 | q23.Resposta1 = "Mônaco";
327 | q23.Resposta2 = "Vaticano";
328 | q23.Resposta3 = "San Marino";
329 | q23.Resposta4 = "Nauru";
330 | q23.Resposta5 = "Liechtenstein";
331 |
332 | q23.RespostaCerta = 2;
333 | q23.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
334 | listaTodasQuestoes.Add(q23);
335 |
336 | var q24 = new Questao();
337 | q24.Pergunta = "Quem foi o primeiro homem a pisar na Lua?";
338 | q24.Resposta1 = "Buzz Aldrin";
339 | q24.Resposta2 = "Neil Armstrong";
340 | q24.Resposta3 = "Yuri Gagarin";
341 | q24.Resposta4 = "John Glenn";
342 | q24.Resposta5 = "Michael Collins";
343 |
344 | q24.RespostaCerta = 2;
345 | q24.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
346 | listaTodasQuestoes.Add(q24);
347 |
348 | var q25 = new Questao();
349 | q25.Pergunta = "Qual é o símbolo químico do ferro?";
350 | q25.Resposta1 = "Fe";
351 | q25.Resposta2 = "F";
352 | q25.Resposta3 = "Ir";
353 | q25.Resposta4 = "Fr";
354 | q25.Resposta5 = "Ff";
355 |
356 | q25.RespostaCerta = 1;
357 | q25.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
358 | listaTodasQuestoes.Add(q25);
359 |
360 | var q26 = new Questao();
361 | q26.Pergunta = "Qual é a maior floresta tropical do mundo?";
362 | q26.Resposta1 = "Floresta Amazônica";
363 | q26.Resposta2 = "Floresta do Congo";
364 | q26.Resposta3 = "Floresta Boreal";
365 | q26.Resposta4 = "Floresta da Taiga";
366 | q26.Resposta5 = "Floresta Atlântica";
367 |
368 | q26.RespostaCerta = 1;
369 | q26.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
370 | listaTodasQuestoes.Add(q26);
371 |
372 | var q27 = new Questao();
373 | q27.Pergunta = "Quem foi o autor de 'A Divina Comédia'?";
374 | q27.Resposta1 = "Virgílio";
375 | q27.Resposta2 = "Dante Alighieri";
376 | q27.Resposta3 = "Homero";
377 | q27.Resposta4 = "Shakespeare";
378 | q27.Resposta5 = "Cervantes";
379 |
380 | q27.RespostaCerta = 2;
381 | q27.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
382 | listaTodasQuestoes.Add(q27);
383 |
384 | var q28 = new Questao();
385 | q28.Pergunta = "Qual é o rio mais longo do mundo?";
386 | q28.Resposta1 = "Rio Nilo";
387 | q28.Resposta2 = "Rio Amazonas";
388 | q28.Resposta3 = "Rio Yangtze";
389 | q28.Resposta4 = "Rio Mississippi";
390 | q28.Resposta5 = "Rio Mekong";
391 |
392 | q28.RespostaCerta = 1;
393 | q28.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
394 | listaTodasQuestoes.Add(q28);
395 |
396 | var q29 = new Questao();
397 | q29.Pergunta = "Qual é a montanha mais alta do mundo?";
398 | q29.Resposta1 = "K2";
399 | q29.Resposta2 = "Kangchenjunga";
400 | q29.Resposta3 = "Everest";
401 | q29.Resposta4 = "Lhotse";
402 | q29.Resposta5 = "Makalu";
403 |
404 | q29.RespostaCerta = 3;
405 | q29.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
406 | listaTodasQuestoes.Add(q29);
407 |
408 | var q30 = new Questao();
409 | q30.Pergunta = "Qual é o maior deserto do mundo?";
410 | q30.Resposta1 = "Deserto do Saara";
411 | q30.Resposta2 = "Deserto de Gobi";
412 | q30.Resposta3 = "Deserto de Atacama";
413 | q30.Resposta4 = "Deserto da Antártica";
414 | q30.Resposta5 = "Deserto do Kalahari";
415 |
416 | q30.RespostaCerta = 4;
417 | q30.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
418 | listaTodasQuestoes.Add(q30);
419 |
420 | var q31 = new Questao();
421 | q31.Pergunta = "Qual é a principal vitamina encontrada nas laranjas?";
422 | q31.Resposta1 = "Vitamina A";
423 | q31.Resposta2 = "Vitamina B12";
424 | q31.Resposta3 = "Vitamina C";
425 | q31.Resposta4 = "Vitamina D";
426 | q31.Resposta5 = "Vitamina E";
427 |
428 | q31.RespostaCerta = 3;
429 | q31.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
430 | listaTodasQuestoes.Add(q31);
431 |
432 | var q32 = new Questao();
433 |
434 | q32.NivelResposta = 1;
435 |
436 | q32.Pergunta = "Qual animal é conhecido por sua habilidade de imitar sons?";
437 | q32.Resposta1 = "Papagaio";
438 | q32.Resposta2 = "Cão";
439 | q32.Resposta3 = "Gato";
440 | q32.Resposta4 = "Cavalo";
441 | q32.Resposta5 = "Coelho";
442 |
443 | q32.RespostaCerta = 1;
444 | q32.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
445 | listaTodasQuestoes.Add(q32);
446 |
447 | var q33 = new Questao();
448 | q33.Pergunta = "Qual é o nome da maior cadeia de montanhas do mundo?";
449 | q33.Resposta1 = "Andes";
450 | q33.Resposta2 = "Himalaias";
451 | q33.Resposta3 = "Alpes";
452 | q33.Resposta4 = "Rocosas";
453 | q33.Resposta5 = "Pirineus";
454 |
455 | q33.RespostaCerta = 2;
456 | q33.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
457 | listaTodasQuestoes.Add(q33);
458 |
459 | var q34 = new Questao();
460 | q34.Pergunta = "Quem é conhecido como o 'pai da psicanálise'?";
461 | q34.Resposta1 = "Carl Jung";
462 | q34.Resposta2 = "Sigmund Freud";
463 | q34.Resposta3 = "B.F. Skinner";
464 | q34.Resposta4 = "Wilhelm Wundt";
465 | q34.Resposta5 = "Jean Piaget";
466 |
467 | q34.RespostaCerta = 2;
468 | q34.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
469 | listaTodasQuestoes.Add(q34);
470 |
471 | var q35 = new Questao();
472 | q35.Pergunta = "Qual é a capital da Espanha?";
473 | q35.Resposta1 = "Barcelona";
474 | q35.Resposta2 = "Madrid";
475 | q35.Resposta3 = "Sevilha";
476 | q35.Resposta4 = "Valência";
477 | q35.Resposta5 = "Bilbau";
478 |
479 | q35.RespostaCerta = 2;
480 | q35.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
481 | listaTodasQuestoes.Add(q35);
482 |
483 | var q36 = new Questao();
484 | q36.Pergunta = "Qual é o nome do continente onde está a maioria dos países árabes?";
485 | q36.Resposta1 = "Ásia";
486 | q36.Resposta2 = "África";
487 | q36.Resposta3 = "Europa";
488 | q36.Resposta4 = "América do Sul";
489 | q36.Resposta5 = "Oceania";
490 |
491 | q36.RespostaCerta = 1;
492 | q36.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
493 | listaTodasQuestoes.Add(q36);
494 |
495 | var q37 = new Questao();
496 | q37.Pergunta = "Qual é o nome do famoso festival de música que acontece em Woodstock?";
497 | q37.Resposta1 = "Lollapalooza";
498 | q37.Resposta2 = "Coachella";
499 | q37.Resposta3 = "Glastonbury";
500 | q37.Resposta4 = "Woodstock";
501 | q37.Resposta5 = "Tomorrowland";
502 |
503 | q37.RespostaCerta = 4;
504 | q37.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
505 | listaTodasQuestoes.Add(q37);
506 |
507 | var q38 = new Questao();
508 | q38.Pergunta = "Qual é o principal gás encontrado na atmosfera terrestre?";
509 | q38.Resposta1 = "Oxigênio";
510 | q38.Resposta2 = "Dióxido de Carbono";
511 | q38.Resposta3 = "Nitrogênio";
512 | q38.Resposta4 = "Hélio";
513 | q38.Resposta5 = "Argônio";
514 |
515 | q38.RespostaCerta = 3;
516 | q38.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
517 | listaTodasQuestoes.Add(q38);
518 |
519 | var q39 = new Questao();
520 | q39.Pergunta = "Qual é o nome do famoso quadro de Edvard Munch?";
521 | q39.Resposta1 = "A Noite Estrelada";
522 | q39.Resposta2 = "O Grito";
523 | q39.Resposta3 = "O Beijo";
524 | q39.Resposta4 = "A Persistência da Memória";
525 | q39.Resposta5 = "Guernica";
526 |
527 | q39.RespostaCerta = 2;
528 | q39.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
529 | listaTodasQuestoes.Add(q39);
530 |
531 | var q40 = new Questao();
532 | q40.Pergunta = "Qual é a capital da Rússia?";
533 | q40.Resposta1 = "São Petersburgo";
534 | q40.Resposta2 = "Moscovo";
535 | q40.Resposta3 = "Kiev";
536 | q40.Resposta4 = "Minsk";
537 | q40.Resposta5 = "Tóquio";
538 |
539 | q40.RespostaCerta = 2;
540 | q40.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
541 | listaTodasQuestoes.Add(q40);
542 |
543 | var q41 = new Questao();
544 |
545 | q41.NivelResposta = 1;
546 |
547 | q41.Pergunta = "Qual é o maior mamífero terrestre?";
548 | q41.Resposta1 = "Rinoceronte";
549 | q41.Resposta2 = "Elefante Africano";
550 | q41.Resposta3 = "Girafa";
551 | q41.Resposta4 = "Urso Polar";
552 | q41.Resposta5 = "Hipopótamo";
553 |
554 | q41.RespostaCerta = 2;
555 | q41.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
556 | listaTodasQuestoes.Add(q41);
557 |
558 | var q42 = new Questao();
559 | q42.Pergunta = "Quem foi o primeiro presidente dos Estados Unidos?";
560 | q42.Resposta1 = "Abraham Lincoln";
561 | q42.Resposta2 = "George Washington";
562 | q42.Resposta3 = "Thomas Jefferson";
563 | q42.Resposta4 = "Franklin D. Roosevelt";
564 | q42.Resposta5 = "John Adams";
565 |
566 | q42.RespostaCerta = 2;
567 | q42.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
568 | listaTodasQuestoes.Add(q42);
569 |
570 | var q43 = new Questao();
571 | q43.Pergunta = "Qual é a capital da Argentina?";
572 | q43.Resposta1 = "Buenos Aires";
573 | q43.Resposta2 = "São Paulo";
574 | q43.Resposta3 = "Santiago";
575 | q43.Resposta4 = "Montevidéu";
576 | q43.Resposta5 = "Lima";
577 |
578 | q43.RespostaCerta = 1;
579 | q43.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
580 | listaTodasQuestoes.Add(q43);
581 |
582 | var q44 = new Questao();
583 | q44.Pergunta = "Qual é a primeira letra do alfabeto grego?";
584 | q44.Resposta1 = "Beta";
585 | q44.Resposta2 = "Alfa";
586 | q44.Resposta3 = "Gama";
587 | q44.Resposta4 = "Delta";
588 | q44.Resposta5 = "Épsilon";
589 |
590 | q44.RespostaCerta = 2;
591 | q44.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
592 | listaTodasQuestoes.Add(q44);
593 |
594 | var q45 = new Questao();
595 | q45.Pergunta = "Qual é o nome do famoso personagem de Sherlock Holmes?";
596 | q45.Resposta1 = "Dr. Watson";
597 | q45.Resposta2 = "Hercule Poirot";
598 | q45.Resposta3 = "Philip Marlowe";
599 | q45.Resposta4 = "James Bond";
600 | q45.Resposta5 = "Miss Marple";
601 |
602 | q45.RespostaCerta = 1;
603 | q45.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
604 | listaTodasQuestoes.Add(q45);
605 |
606 | var q46 = new Questao();
607 | q46.Pergunta = "Qual é a capital do Egito?";
608 | q46.Resposta1 = "Cairo";
609 | q46.Resposta2 = "Tunis";
610 | q46.Resposta3 = "Riad";
611 | q46.Resposta4 = "Beirute";
612 | q46.Resposta5 = "Cartum";
613 |
614 | q46.RespostaCerta = 1;
615 | q46.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
616 | listaTodasQuestoes.Add(q46);
617 |
618 | var q47 = new Questao();
619 | q47.Pergunta = "Qual é a moeda da União Europeia?";
620 | q47.Resposta1 = "Dólar";
621 | q47.Resposta2 = "Libra";
622 | q47.Resposta3 = "Euro";
623 | q47.Resposta4 = "Franco";
624 | q47.Resposta5 = "Yen";
625 |
626 | q47.RespostaCerta = 3;
627 | q47.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
628 | listaTodasQuestoes.Add(q47);
629 |
630 | var q48 = new Questao();
631 | q48.Pergunta = "Qual é o famoso festival de música que acontece na Alemanha?";
632 | q48.Resposta1 = "Oktoberfest";
633 | q48.Resposta2 = "Glastonbury";
634 | q48.Resposta3 = "Tomorrowland";
635 | q48.Resposta4 = "Coachella";
636 | q48.Resposta5 = "Lollapalooza";
637 |
638 | q48.RespostaCerta = 1;
639 | q48.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
640 | listaTodasQuestoes.Add(q48);
641 |
642 | var q49 = new Questao();
643 | q49.Pergunta = "Qual é o nome do famoso físico que formulou a teoria da relatividade?";
644 | q49.Resposta1 = "Isaac Newton";
645 | q49.Resposta2 = "Albert Einstein";
646 | q49.Resposta3 = "Galileu Galilei";
647 | q49.Resposta4 = "Stephen Hawking";
648 | q49.Resposta5 = "Nikola Tesla";
649 |
650 | q49.RespostaCerta = 2;
651 | q49.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
652 | listaTodasQuestoes.Add(q49);
653 |
654 | var q50 = new Questao();
655 | q50.Pergunta = "Qual é o país famoso por seus chocolates e relógios?";
656 | q50.Resposta1 = "Alemanha";
657 | q50.Resposta2 = "França";
658 | q50.Resposta3 = "Suíça";
659 | q50.Resposta4 = "Bélgica";
660 | q50.Resposta5 = "Holanda";
661 |
662 | q50.RespostaCerta = 3;
663 | q50.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
664 | listaTodasQuestoes.Add(q50);
665 |
666 | var q51 = new Questao();
667 | q51.Pergunta = "Qual é a capital do Canadá?";
668 | q51.Resposta1 = "Toronto";
669 | q51.Resposta2 = "Vancouver";
670 | q51.Resposta3 = "Ottawa";
671 | q51.Resposta4 = "Montreal";
672 | q51.Resposta5 = "Calgary";
673 |
674 | q51.RespostaCerta = 3;
675 | q51.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
676 | listaTodasQuestoes.Add(q51);
677 |
678 | var q52 = new Questao();
679 | q52.Pergunta = "Qual é o nome do famoso carro esportivo da Ferrari?";
680 | q52.Resposta1 = "Mustang";
681 | q52.Resposta2 = "Civic";
682 | q52.Resposta3 = "F40";
683 | q52.Resposta4 = "Corvette";
684 | q52.Resposta5 = "Porsche 911";
685 |
686 | q52.RespostaCerta = 3;
687 | q52.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
688 | listaTodasQuestoes.Add(q52);
689 |
690 | var q53 = new Questao();
691 | q53.Pergunta = "Qual é o país conhecido por sua cultura do chá?";
692 | q53.Resposta1 = "Índia";
693 | q53.Resposta2 = "Japão";
694 | q53.Resposta3 = "China";
695 | q53.Resposta4 = "Reino Unido";
696 | q53.Resposta5 = "Turquia";
697 |
698 | q53.RespostaCerta = 3;
699 | q53.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
700 | listaTodasQuestoes.Add(q53);
701 |
702 | var q54 = new Questao();
703 | q54.Pergunta = "Qual é o nome do sistema de governo onde o poder é exercido pelo povo?";
704 | q54.Resposta1 = "Monarquia";
705 | q54.Resposta2 = "Ditadura";
706 | q54.Resposta3 = "República";
707 | q54.Resposta4 = "Democracia";
708 | q54.Resposta5 = "Teocracia";
709 |
710 | q54.RespostaCerta = 4;
711 | q54.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
712 | listaTodasQuestoes.Add(q54);
713 |
714 | var q55 = new Questao();
715 | q55.Pergunta = "Qual é a fórmula da glicose?";
716 | q55.Resposta1 = "C6H12O6";
717 | q55.Resposta2 = "C2H5OH";
718 | q55.Resposta3 = "NaCl";
719 | q55.Resposta4 = "H2O";
720 | q55.Resposta5 = "CO2";
721 |
722 | q55.RespostaCerta = 1;
723 | q55.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
724 | listaTodasQuestoes.Add(q55);
725 |
726 | var q56 = new Questao();
727 | q56.Pergunta = "Qual é a capital da Alemanha?";
728 | q56.Resposta1 = "Berlim";
729 | q56.Resposta2 = "Munique";
730 | q56.Resposta3 = "Frankfurt";
731 | q56.Resposta4 = "Hamburgo";
732 | q56.Resposta5 = "Colônia";
733 |
734 | q56.RespostaCerta = 1;
735 | q56.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
736 | listaTodasQuestoes.Add(q56);
737 |
738 | var q57 = new Questao();
739 | q57.Pergunta = "Qual é a capital da Grécia?";
740 | q57.Resposta1 = "Atenas";
741 | q57.Resposta2 = "Salônica";
742 | q57.Resposta3 = "Heraclión";
743 | q57.Resposta4 = "Patras";
744 | q57.Resposta5 = "Náuplia";
745 |
746 | q57.RespostaCerta = 1;
747 | q57.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
748 | listaTodasQuestoes.Add(q57);
749 |
750 | var q58 = new Questao();
751 | q58.Pergunta = "Qual é o maior lago do mundo?";
752 | q58.Resposta1 = "Lago Superior";
753 | q58.Resposta2 = "Lago Baikal";
754 | q58.Resposta3 = "Lago Vitória";
755 | q58.Resposta4 = "Mar Cáspio";
756 | q58.Resposta5 = "Lago Tanganica";
757 |
758 | q58.RespostaCerta = 4;
759 | q58.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
760 | listaTodasQuestoes.Add(q58);
761 |
762 | var q59 = new Questao();
763 | q59.Pergunta = "Qual é a língua oficial da China?";
764 | q59.Resposta1 = "Inglês";
765 | q59.Resposta2 = "Mandarim";
766 | q59.Resposta3 = "Cantonês";
767 | q59.Resposta4 = "Tibetano";
768 | q59.Resposta5 = "Hakka";
769 |
770 | q59.RespostaCerta = 2;
771 | q59.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
772 | listaTodasQuestoes.Add(q59);
773 |
774 | var q60 = new Questao();
775 | q60.Pergunta = "Qual é o famoso monumento de Paris?";
776 | q60.Resposta1 = "Torre Eiffel";
777 | q60.Resposta2 = "Coliseu";
778 | q60.Resposta3 = "Torre de Pisa";
779 | q60.Resposta4 = "Big Ben";
780 | q60.Resposta5 = "Estátua da Liberdade";
781 |
782 | q60.RespostaCerta = 1;
783 | q60.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
784 | listaTodasQuestoes.Add(q60);
785 |
786 | var q61 = new Questao();
787 | q61.Pergunta = "Qual é o elemento químico com símbolo Na?";
788 | q61.Resposta1 = "Sódio";
789 | q61.Resposta2 = "Nitrogênio";
790 | q61.Resposta3 = "Cloro";
791 | q61.Resposta4 = "Cálcio";
792 | q61.Resposta5 = "Fósforo";
793 |
794 | q61.RespostaCerta = 1;
795 | q61.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
796 | listaTodasQuestoes.Add(q61);
797 |
798 | var q62 = new Questao();
799 |
800 | q62.NivelResposta = 1;
801 |
802 | q62.Pergunta = "Qual é a capital do Brasil?";
803 | q62.Resposta1 = "Rio de Janeiro";
804 | q62.Resposta2 = "São Paulo";
805 | q62.Resposta3 = "Brasília";
806 | q62.Resposta4 = "Belo Horizonte";
807 | q62.Resposta5 = "Salvador";
808 |
809 | q62.RespostaCerta = 3;
810 | q62.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
811 | listaTodasQuestoes.Add(q62);
812 |
813 | var q63 = new Questao();
814 | q63.Pergunta = "Qual é o famoso documento que declarou a independência dos Estados Unidos?";
815 | q63.Resposta1 = "Constituição";
816 | q63.Resposta2 = "Declaração dos Direitos";
817 | q63.Resposta3 = "Declaração de Independência";
818 | q63.Resposta4 = "Bill of Rights";
819 | q63.Resposta5 = "Federalist Papers";
820 |
821 | q63.RespostaCerta = 3;
822 | q63.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
823 | listaTodasQuestoes.Add(q63);
824 |
825 | var q64 = new Questao();
826 | q64.Pergunta = "Qual é o nome do movimento artístico que enfatizou a razão e a ciência?";
827 | q64.Resposta1 = "Romantismo";
828 | q64.Resposta2 = "Realismo";
829 | q64.Resposta3 = "Iluminismo";
830 | q64.Resposta4 = "Barroco";
831 | q64.Resposta5 = "Modernismo";
832 |
833 | q64.RespostaCerta = 3;
834 | q64.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
835 | listaTodasQuestoes.Add(q64);
836 |
837 | var q65 = new Questao();
838 | q65.Pergunta = "Qual é o famoso romance de Jane Austen?";
839 | q65.Resposta1 = "Orgulho e Preconceito";
840 | q65.Resposta2 = "Jane Eyre";
841 | q65.Resposta3 = "O Morro dos Ventos Uivantes";
842 | q65.Resposta4 = "Crime e Castigo";
843 | q65.Resposta5 = "A Revolução dos Bichos";
844 |
845 | q65.RespostaCerta = 1;
846 | q65.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
847 | listaTodasQuestoes.Add(q65);
848 |
849 | var q66 = new Questao();
850 | q66.Pergunta = "Qual é o continente onde está localizado o deserto do Saara?";
851 | q66.Resposta1 = "África";
852 | q66.Resposta2 = "Ásia";
853 | q66.Resposta3 = "América do Sul";
854 | q66.Resposta4 = "Oceania";
855 | q66.Resposta5 = "Europa";
856 |
857 | q66.RespostaCerta = 1;
858 | q66.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
859 | listaTodasQuestoes.Add(q66);
860 |
861 | var q67 = new Questao();
862 | q67.Pergunta = "Qual é a capital da Índia?";
863 | q67.Resposta1 = "Bombaim";
864 | q67.Resposta2 = "Nova Délhi";
865 | q67.Resposta3 = "Calcutá";
866 | q67.Resposta4 = "Chennai";
867 | q67.Resposta5 = "Hyderabad";
868 |
869 | q67.RespostaCerta = 2;
870 | q67.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
871 | listaTodasQuestoes.Add(q67);
872 |
873 | var q68 = new Questao();
874 | q68.Pergunta = "Qual é o maior oceano do mundo?";
875 | q68.Resposta1 = "Oceano Atlântico";
876 | q68.Resposta2 = "Oceano Pacífico";
877 | q68.Resposta3 = "Oceano Índico";
878 | q68.Resposta4 = "Oceano Ártico";
879 | q68.Resposta5 = "Oceano Antártico";
880 |
881 | q68.RespostaCerta = 2;
882 | q68.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
883 | listaTodasQuestoes.Add(q68);
884 |
885 | var q69 = new Questao();
886 | q69.Pergunta = "Qual é a capital da França?";
887 | q69.Resposta1 = "Londres";
888 | q69.Resposta2 = "Berlim";
889 | q69.Resposta3 = "Madri";
890 | q69.Resposta4 = "Paris";
891 | q69.Resposta5 = "Roma";
892 |
893 | q69.RespostaCerta = 4;
894 | q69.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
895 | listaTodasQuestoes.Add(q69);
896 |
897 | var q70 = new Questao();
898 | q70.Pergunta = "Qual é o nome do primeiro satélite lançado ao espaço?";
899 | q70.Resposta1 = "Apollo 11";
900 | q70.Resposta2 = "Vostok 1";
901 | q70.Resposta3 = "Sputnik 1";
902 | q70.Resposta4 = "Explorer 1";
903 | q70.Resposta5 = "Hubble";
904 |
905 | q70.RespostaCerta = 3;
906 | q70.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
907 | listaTodasQuestoes.Add(q70);
908 |
909 | var q71 = new Questao();
910 | q71.Pergunta = "Qual é a fórmula química da água?";
911 | q71.Resposta1 = "H2O";
912 | q71.Resposta2 = "CO2";
913 | q71.Resposta3 = "NaCl";
914 | q71.Resposta4 = "C6H12O6";
915 | q71.Resposta5 = "CH4";
916 |
917 | q71.RespostaCerta = 1;
918 | q71.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
919 | listaTodasQuestoes.Add(q71);
920 |
921 | var q72 = new Questao();
922 | q72.Pergunta = "Qual é a capital da Suécia?";
923 | q72.Resposta1 = "Estocolmo";
924 | q72.Resposta2 = "Helsinque";
925 | q72.Resposta3 = "Oslo";
926 | q72.Resposta4 = "Copenhague";
927 | q72.Resposta5 = "Reykjavique";
928 |
929 | q72.RespostaCerta = 1;
930 | q72.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
931 | listaTodasQuestoes.Add(q72);
932 |
933 | var q73 = new Questao();
934 | q73.Pergunta = "Qual é a moeda da Rússia?";
935 | q73.Resposta1 = "Dólar";
936 | q73.Resposta2 = "Euro";
937 | q73.Resposta3 = "Rublo";
938 | q73.Resposta4 = "Yen";
939 | q73.Resposta5 = "Franco";
940 |
941 | q73.RespostaCerta = 3;
942 | q73.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
943 | listaTodasQuestoes.Add(q73);
944 |
945 | var q74 = new Questao();
946 |
947 | q74.NivelResposta = 1;
948 |
949 | q74.Pergunta = "Quem é o famoso personagem da Disney que é um pato?";
950 | q74.Resposta1 = "Pato Donald";
951 | q74.Resposta2 = "Mickey Mouse";
952 | q74.Resposta3 = "Pateta";
953 | q74.Resposta4 = "Pato Lucas";
954 | q74.Resposta5 = "Tico e Teco";
955 |
956 | q74.RespostaCerta = 1;
957 | q74.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
958 | listaTodasQuestoes.Add(q74);
959 |
960 | var q75 = new Questao();
961 | q75.Pergunta = "Qual é o nome do famoso super-herói da Marvel que é um Homem de Ferro?";
962 | q75.Resposta1 = "Thor";
963 | q75.Resposta2 = "Capitão América";
964 | q75.Resposta3 = "Hulk";
965 | q75.Resposta4 = "Iron Man";
966 | q75.Resposta5 = "Spider-Man";
967 |
968 | q75.RespostaCerta = 4;
969 | q75.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
970 | listaTodasQuestoes.Add(q75);
971 |
972 | var q76 = new Questao();
973 | q76.Pergunta = "Qual é o nome do famoso cientista que descobriu a penicilina?";
974 | q76.Resposta1 = "Louis Pasteur";
975 | q76.Resposta2 = "Marie Curie";
976 | q76.Resposta3 = "Alexander Fleming";
977 | q76.Resposta4 = "Gregor Mendel";
978 | q76.Resposta5 = "Charles Darwin";
979 |
980 | q76.RespostaCerta = 3;
981 | q76.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
982 | listaTodasQuestoes.Add(q76);
983 |
984 | var q77 = new Questao();
985 | q77.Pergunta = "Qual é o nome da famosa obra de arte de Leonardo da Vinci?";
986 | q77.Resposta1 = "A Última Ceia";
987 | q77.Resposta2 = "O Nascimento de Vênus";
988 | q77.Resposta3 = "A Criação de Adão";
989 | q77.Resposta4 = "A Noite Estrelada";
990 | q77.Resposta5 = "O Grito";
991 |
992 | q77.RespostaCerta = 1;
993 | q77.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
994 | listaTodasQuestoes.Add(q77);
995 |
996 | var q78 = new Questao();
997 | q78.Pergunta = "Qual é a capital da Nova Zelândia?";
998 | q78.Resposta1 = "Auckland";
999 | q78.Resposta2 = "Wellington";
1000 | q78.Resposta3 = "Christchurch";
1001 | q78.Resposta4 = "Hamilton";
1002 | q78.Resposta5 = "Dunedin";
1003 |
1004 | q78.RespostaCerta = 2;
1005 | q78.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1006 | listaTodasQuestoes.Add(q78);
1007 |
1008 | var q79 = new Questao();
1009 | q79.Pergunta = "Qual é o nome do famoso detetive criado por Arthur Conan Doyle?";
1010 | q79.Resposta1 = "Hercule Poirot";
1011 | q79.Resposta2 = "Miss Marple";
1012 | q79.Resposta3 = "Sherlock Holmes";
1013 | q79.Resposta4 = "Philip Marlowe";
1014 | q79.Resposta5 = "Sam Spade";
1015 |
1016 | q79.RespostaCerta = 3;
1017 | q79.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1018 | listaTodasQuestoes.Add(q79);
1019 |
1020 | var q80 = new Questao();
1021 |
1022 | q80.NivelResposta = 1;
1023 |
1024 | q80.Pergunta = "Qual é o principal ingrediente do guacamole?";
1025 | q80.Resposta1 = "Tomate";
1026 | q80.Resposta2 = "Cebola";
1027 | q80.Resposta3 = "Abacate";
1028 | q80.Resposta4 = "Pimentão";
1029 | q80.Resposta5 = "Limão";
1030 |
1031 | q80.RespostaCerta = 3;
1032 | q80.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1033 | listaTodasQuestoes.Add(q80);
1034 |
1035 | var q81 = new Questao();
1036 | q81.Pergunta = "Qual é a capital do Japão?";
1037 | q81.Resposta1 = "Tóquio";
1038 | q81.Resposta2 = "Seul";
1039 | q81.Resposta3 = "Pequim";
1040 | q81.Resposta4 = "Banguecoque";
1041 | q81.Resposta5 = "Hanoí";
1042 |
1043 | q81.RespostaCerta = 1;
1044 | q81.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1045 | listaTodasQuestoes.Add(q81);
1046 |
1047 | var q82 = new Questao();
1048 | q82.Pergunta = "Qual é a famosa obra do dramaturgo William Shakespeare?";
1049 | q82.Resposta1 = "Romeu e Julieta";
1050 | q82.Resposta2 = "Dom Quixote";
1051 | q82.Resposta3 = "A Divina Comédia";
1052 | q82.Resposta4 = "O Morro dos Ventos Uivantes";
1053 | q82.Resposta5 = "Crime e Castigo";
1054 |
1055 | q82.RespostaCerta = 1;
1056 | q82.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1057 | listaTodasQuestoes.Add(q82);
1058 |
1059 | var q83 = new Questao();
1060 | q83.Pergunta = "Qual é a capital da Turquia?";
1061 | q83.Resposta1 = "Istambul";
1062 | q83.Resposta2 = "Ancara";
1063 | q83.Resposta3 = "Izmir";
1064 | q83.Resposta4 = "Antália";
1065 | q83.Resposta5 = "Bursa";
1066 |
1067 | q83.RespostaCerta = 2;
1068 | q83.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1069 | listaTodasQuestoes.Add(q83);
1070 |
1071 | var q84 = new Questao();
1072 | q84.Pergunta = "Qual é o famoso prato italiano feito com massa e molho?";
1073 | q84.Resposta1 = "Sushi";
1074 | q84.Resposta2 = "Tacos";
1075 | q84.Resposta3 = "Pizza";
1076 | q84.Resposta4 = "Pasta";
1077 | q84.Resposta5 = "Curry";
1078 |
1079 | q84.RespostaCerta = 4;
1080 | q84.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1081 | listaTodasQuestoes.Add(q84);
1082 |
1083 | var q85 = new Questao();
1084 | q85.Pergunta = "Qual é a principal função do fígado no corpo humano?";
1085 | q85.Resposta1 = "Respiração";
1086 | q85.Resposta2 = "Filtração de sangue";
1087 | q85.Resposta3 = "Produção de hormônios";
1088 | q85.Resposta4 = "Movimentação";
1089 | q85.Resposta5 = "Digestão";
1090 |
1091 | q85.RespostaCerta = 2;
1092 | q85.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1093 | listaTodasQuestoes.Add(q85);
1094 |
1095 | var q86 = new Questao();
1096 | q86.Pergunta = "Qual é o nome da famosa canção de John Lennon que fala sobre paz?";
1097 | q86.Resposta1 = "Imagine";
1098 | q86.Resposta2 = "Hey Jude";
1099 | q86.Resposta3 = "Let It Be";
1100 | q86.Resposta4 = "Yesterday";
1101 | q86.Resposta5 = "Come Together";
1102 |
1103 | q86.RespostaCerta = 1;
1104 | q86.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1105 | listaTodasQuestoes.Add(q86);
1106 |
1107 | var q87 = new Questao();
1108 | q87.Pergunta = "Qual é a capital da Itália?";
1109 | q87.Resposta1 = "Veneza";
1110 | q87.Resposta2 = "Roma";
1111 | q87.Resposta3 = "Milão";
1112 | q87.Resposta4 = "Florença";
1113 | q87.Resposta5 = "Nápoles";
1114 |
1115 | q87.RespostaCerta = 2;
1116 | q87.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1117 | listaTodasQuestoes.Add(q87);
1118 |
1119 | var q88 = new Questao();
1120 |
1121 | q88.NivelResposta = 1;
1122 |
1123 | q88.Pergunta = "Qual é o nome do famoso super-herói da DC que é um Homem Morcego?";
1124 | q88.Resposta1 = "Superman";
1125 | q88.Resposta2 = "Batman";
1126 | q88.Resposta3 = "Aquaman";
1127 | q88.Resposta4 = "Flash";
1128 | q88.Resposta5 = "Lanterna Verde";
1129 |
1130 | q88.RespostaCerta = 2;
1131 | q88.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1132 | listaTodasQuestoes.Add(q88);
1133 |
1134 | var q89 = new Questao();
1135 | q89.Pergunta = "Qual é a capital da Coreia do Sul?";
1136 | q89.Resposta1 = "Seul";
1137 | q89.Resposta2 = "Pyongyang";
1138 | q89.Resposta3 = "Tóquio";
1139 | q89.Resposta4 = "Pequim";
1140 | q89.Resposta5 = "Banguecoque";
1141 |
1142 | q89.RespostaCerta = 1;
1143 | q89.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1144 | listaTodasQuestoes.Add(q89);
1145 |
1146 | var q90 = new Questao();
1147 | q90.Pergunta = "Qual é o nome do famoso deus da mitologia grega que é o deus do trovão?";
1148 | q90.Resposta1 = "Zeus";
1149 | q90.Resposta2 = "Poseidon";
1150 | q90.Resposta3 = "Hades";
1151 | q90.Resposta4 = "Apolo";
1152 | q90.Resposta5 = "Atena";
1153 |
1154 | q90.RespostaCerta = 1;
1155 | q90.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1156 | listaTodasQuestoes.Add(q90);
1157 |
1158 | var q91 = new Questao();
1159 | q91.Pergunta = "Qual é a famosa obra de arte de Edvard Munch?";
1160 | q91.Resposta1 = "A Noite Estrelada";
1161 | q91.Resposta2 = "O Grito";
1162 | q91.Resposta3 = "A Última Ceia";
1163 | q91.Resposta4 = "O Nascimento de Vênus";
1164 | q91.Resposta5 = "A Criação de Adão";
1165 |
1166 | q91.RespostaCerta = 2;
1167 | q91.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1168 | listaTodasQuestoes.Add(q91);
1169 |
1170 | var q92 = new Questao();
1171 | q92.Pergunta = "Qual é a capital da Noruega?";
1172 | q92.Resposta1 = "Oslo";
1173 | q92.Resposta2 = "Estocolmo";
1174 | q92.Resposta3 = "Helsinque";
1175 | q92.Resposta4 = "Copenhague";
1176 | q92.Resposta5 = "Reykjavique";
1177 |
1178 | q92.RespostaCerta = 1;
1179 | q92.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1180 | listaTodasQuestoes.Add(q92);
1181 |
1182 | var q93 = new Questao();
1183 | q93.Pergunta = "Qual é a maior floresta tropical do mundo?";
1184 | q93.Resposta1 = "Floresta Amazônica";
1185 | q93.Resposta2 = "Floresta do Congo";
1186 | q93.Resposta3 = "Floresta Boreal";
1187 | q93.Resposta4 = "Floresta Negra";
1188 | q93.Resposta5 = "Floresta de Taiga";
1189 |
1190 | q93.RespostaCerta = 1;
1191 | q93.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1192 | listaTodasQuestoes.Add(q93);
1193 |
1194 | var q94 = new Questao();
1195 | q94.Pergunta = "Qual é a capital da Áustria?";
1196 | q94.Resposta1 = "Viena";
1197 | q94.Resposta2 = "Budapeste";
1198 | q94.Resposta3 = "Praga";
1199 | q94.Resposta4 = "Bratislava";
1200 | q94.Resposta5 = "Zurique";
1201 |
1202 | q94.RespostaCerta = 1;
1203 | q94.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1204 | listaTodasQuestoes.Add(q94);
1205 |
1206 | var q95 = new Questao();
1207 | q95.Pergunta = "Qual é a famosa série de livros de J.K. Rowling?";
1208 | q95.Resposta1 = "O Senhor dos Anéis";
1209 | q95.Resposta2 = "As Crônicas de Nárnia";
1210 | q95.Resposta3 = "Harry Potter";
1211 | q95.Resposta4 = "O Hobbit";
1212 | q95.Resposta5 = "Percy Jackson";
1213 |
1214 | q95.RespostaCerta = 3;
1215 | q95.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1216 | listaTodasQuestoes.Add(q95);
1217 |
1218 | var q96 = new Questao();
1219 | q96.Pergunta = "Qual é a capital da Finlândia?";
1220 | q96.Resposta1 = "Helsinque";
1221 | q96.Resposta2 = "Oslo";
1222 | q96.Resposta3 = "Estocolmo";
1223 | q96.Resposta4 = "Copenhague";
1224 | q96.Resposta5 = "Reykjavique";
1225 |
1226 | q96.RespostaCerta = 1;
1227 | q96.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1228 | listaTodasQuestoes.Add(q96);
1229 |
1230 | var q97 = new Questao();
1231 | q97.Pergunta = "Qual é a capital da Islândia?";
1232 | q97.Resposta1 = "Reykjavique";
1233 | q97.Resposta2 = "Oslo";
1234 | q97.Resposta3 = "Helsinque";
1235 | q97.Resposta4 = "Copenhague";
1236 | q97.Resposta5 = "Estocolmo";
1237 |
1238 | q97.RespostaCerta = 1;
1239 | q97.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1240 | listaTodasQuestoes.Add(q97);
1241 |
1242 | var q98 = new Questao();
1243 | q98.Pergunta = "Qual é a moeda da Índia?";
1244 | q98.Resposta1 = "Rúpia";
1245 | q98.Resposta2 = "Dólar";
1246 | q98.Resposta3 = "Euro";
1247 | q98.Resposta4 = "Yen";
1248 | q98.Resposta5 = "Libra";
1249 |
1250 | q98.RespostaCerta = 1;
1251 | q98.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1252 | listaTodasQuestoes.Add(q98);
1253 |
1254 | var q99 = new Questao();
1255 | q99.Pergunta = "Qual é o nome da famosa cerveja belga?";
1256 | q99.Resposta1 = "Heineken";
1257 | q99.Resposta2 = "Stella Artois";
1258 | q99.Resposta3 = "Budweiser";
1259 | q99.Resposta4 = "Corona";
1260 | q99.Resposta5 = "Guinness";
1261 |
1262 | q99.RespostaCerta = 2;
1263 | q99.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1264 | listaTodasQuestoes.Add(q99);
1265 |
1266 | var q100 = new Questao();
1267 | q100.Pergunta = "Qual é a capital da Escócia?";
1268 | q100.Resposta1 = "Edimburgo";
1269 | q100.Resposta2 = "Glasgow";
1270 | q100.Resposta3 = "Aberdeen";
1271 | q100.Resposta4 = "Inverness";
1272 | q100.Resposta5 = "Dundee";
1273 |
1274 | q100.RespostaCerta = 1;
1275 | q100.ConfiguraEstruturaDesenho(labelPergunta, buttonResposta01, buttonResposta02, buttonResposta03, buttonResposta04, buttonResposta05, frameGameOver);
1276 | listaTodasQuestoes.Add(q100);
1277 | }
1278 |
1279 | public void ProximaQuestao()
1280 | {
1281 |
1282 | var listaQuestoes = listaTodasQuestoes.Where(d => d.NivelResposta == NivelResposta).ToList();
1283 | var numRandom = Random.Shared.Next(0, listaTodasQuestoes.Count - 1);
1284 | var NovaQuestao = listaTodasQuestoes[numRandom];
1285 |
1286 | while (listaTodasQuestaoRespondidas.Contains(NovaQuestao))
1287 | {
1288 | numRandom = Random.Shared.Next(0, listaQuestoes.Count - 1);
1289 | NovaQuestao = listaTodasQuestoes[numRandom];
1290 | }
1291 |
1292 | listaTodasQuestaoRespondidas.Add(NovaQuestao);
1293 | questaoAtual = NovaQuestao;
1294 | questaoAtual.Desenhar();
1295 | }
1296 |
1297 | public async void VerificaCorreta(int rr)
1298 | {
1299 | if (questaoAtual.VerificaResposta(rr))
1300 | {
1301 | await Task.Delay(1000);
1302 | AdicionaPontuacao(NivelResposta);
1303 | NivelResposta++;
1304 | ProximaQuestao();
1305 | labelPontuacao.Text = "Nível: " + NivelResposta.ToString();
1306 | labelNivel.Text = "Pontuação: " + Pontuacao.ToString();
1307 | }
1308 | else
1309 | {
1310 | // await App.Current.MainPage.DisplayAlert("Game Over", "Você perdeu", "Ok");
1311 | FrameGameOver.IsVisible = true;
1312 | Initialize();
1313 | }
1314 | }
1315 |
1316 | void AdicionaPontuacao(int n)
1317 | {
1318 | if (n == 1)
1319 | {
1320 | Pontuacao = 1000;
1321 | }
1322 | if (n == 2)
1323 | {
1324 | Pontuacao = 2000;
1325 | }
1326 | if (n == 3)
1327 | {
1328 | Pontuacao = 5000;
1329 | }
1330 | if (n == 4)
1331 | {
1332 | Pontuacao = 10000;
1333 | }
1334 | if (n == 5)
1335 | {
1336 | Pontuacao = 20000;
1337 | }
1338 | if (n == 6)
1339 | {
1340 | Pontuacao = 50000;
1341 | }
1342 | if (n == 7)
1343 | {
1344 | Pontuacao = 100000;
1345 | }
1346 | if (n == 8)
1347 | {
1348 | Pontuacao = 200000;
1349 | }
1350 | if (n == 9)
1351 | {
1352 | Pontuacao = 500000;
1353 | }
1354 | if (n == 10)
1355 | {
1356 | Pontuacao = 1000000;
1357 | }
1358 | }
1359 | }
--------------------------------------------------------------------------------