Giter Club home page Giter Club logo

themillionairegame's Introduction

millionairebanner

The Millionaire Game

A custom game controller software like WWTBAM.

Introduction

This project began in the summer of 2017 for a YouTube series called 'Het DJG Toernooi' (The DJG Tournament). After couple of livestreams and video's, the project discontinued in late 2018.

But when the COVID-19 reached the rest of the world in 2020, I restarted this project with a new name called 'The Millionaire Game' and decided to put the source code on GitHub to help other people making their own quiz game with this program. This software can be used to run your own Who Wants To Be A Millionaire games. For example at home, on Discord with friends or on a Youtube video/livestream. There will be new features in the future to play around with. But there are a lot of elements that you can use:

  • Max. 4 lifelines (customizable).
  • Host and Contestant screen.
  • TV/Livestream screen.
  • Fastest Finger First (+ online features) (Windows only).
  • Risk Mode (2nd safety net disabled & extra lifeline(s) can be activated).
  • Compatible with Microsoft SQL Server (Local only).
  • Easy to use Questions Editor.

New features, releases, suggestions and issues will be documented in this GitHub repository.

How to install and use?

  • Download the latest (or other) release and extract the zip file to the desired folder.
  • Run MillionaireGame.exe
  • When you launch it for the first time, the database file will be created automatically for you.
  • If you used an older version of the Millionaire Game, you need to transfer the questions to a new database table. A message box will notify you if this is the case.
  • Tweak some settings to what you like (don't forget adding questions if you don't have them already)
  • You are ready to go! Have fun!

Extra information

To use the online features of Fastest Finger First, you need to setup the following:

  1. Open the 'FFF Server' in the application. At first, Windows Firewall asks if you want to allow this program. Click 'Allow' or 'Yes'.
  2. On your router, open the TCP port that is given in the Options menu. Otherwise people cannot join. (The default port is 3818).
  3. Choose the preferred amount of player slots on the server (2-8).
  4. The contestants need to have the application 'FFF_Client.exe' to connect to your FFF session. In the texbox, enter the needed IP address. (LAN IP for people in the same network, WAN IP for people on other networks)
  5. Select a player slot that is free (1 to 8).
  6. Click 'Connect' and you are done. (When the 'Connect' button on the client changes to 'Disconnect', then the contestant is connected.)

Lifelines

The lifelines that are in play are fully customizable. You can use up to 4 lifelines in total when playing the game. So if you want, you can also set the total lifelines to 0. Then there will be no lifelines in the game to use. (Pretty hardcore) Also there is the option to set when the lifeline(s) become available. These are the current possibilities:

  • Always (Lifeline can be used on every question)
  • After Q5 (Lifeline is unlocked after the contestant answers question 5 correctly)
  • After Q10 (Lifeline is unlocked after the contestant answers question 10 correctly)
  • Risk Mode (When activating Risk Mode, the lifeline becomes available to the contestant)

50:50

drawing

Take out two wrong answers and leave one right & wrong answer.

Plus One (Phone-A-Friend)

drawing

Ask a friend or other person for help on a question. The contestant has 30 seconds to get an answer.

Ask The Audience

drawing

Ask the 'virtual' audience for help! (Also possible to set custom results per question in the Question Editor)

Switch the Question

drawing

When the contestant doesn't like the current question, this lifeline will switch the question for another one on the same level.

Double Dip

drawing

The contestant gets two chances to give the correct answer. When this lifeline is in use, it is not allowed to walk away.

Ask The Host

drawing

Like the name of the lifeline already suggest, ask the present host to give his/her opinion on what the correct answer could be.

The Money Tree

0_tree_0

Video Demo

You can watch the demo video of 2023 here below:

The Millionaire Game Demo 2023

Screenshots

Main overview:

Schermafbeelding 2023-11-21 224448

Options Menu:

Schermafbeelding 2023-11-21 224557

Editing the sound cues:

Schermafbeelding 2023-11-21 224658

Questions Editor:

Schermafbeelding 2023-11-21 224805

A virtual Fastest Finger First session:

Schermafbeelding 2023-11-21 224958

The Fastest FInger First client program:

Schermafbeelding 2023-11-21 225043

Where to download it?

You can download one of the releases: here !

Other versions / forks.

When I was inactive for a while, I noticed on Github that forks were created from this repository. And my support for it is 100%. So if you have any knowledge about VB.net & C# programming languages, then feel free to modify this to your own liking. The best forks will be highlighted in the list below (with short description of what is modified) so you can check it as well.

themillionairegame's People

Contributors

macronair avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

themillionairegame's Issues

full screen please!!!

Would it be possible to have full screen host, guest and audience screen?? as now we cant make them bigger thanks

FFF Client missing in release 1.1

First of all: Thanks a lot for the latest release. I am looking for the FastestFingerClient in the release but I am unable to find it. There are only three .exe files in it, 2x MillionaireGame.exe and QEDIT.exe.

Add option to disable 'Show Correct' toggle with new questions

Please add an option automating the following:

  • If the 'Show Correct' toggle is enabled when a new question is shown, disable the 'Show Correct' toggle.

Most often I enable the 'Show Correct' toggle just before revealing the answer. But I forget to disable it before showing the next question. Meaning I accidently see the answer when I don't want to.

Auto size question text

Would it be possible to have the question text auto resize if the question is too large to fit in the box instead of cutting text off?

FFF: Points to Seconds

Change point system to seconds and miliseconds when determing the fastest player in FFF.

Updating the Database with a new release

Hello,
Are there any plans to keep a database from one release to another?

Because I started to contribute a database, and I noticed that the notes field was not editable but would be in the next release.
It's just for information, but if it could be possible, that would be great!

Finally, when is the next release planned so that I can test your work? :)

I'll test FFF server soon and I'll tell you if I have troubles.

Thanks !

Resizable answers + uneditable levels

Hi there, thanks for this very complete software !

I just have an issue where the answer is longer than few words, like:
"Michael Biehn's head on Brandon Lee's body" gets truncated to "Michael Biehn's head on"

Which doesn't really work out...
Making a fix for that would really help a lot doing better questions.

Also editing levels questions doesn't work

Thanks !

Problem with question counter

Hi!

I played a full game and just realized that level 4 questions never appear. I think you got it wrong with the levels because we should have a question of LVL4 when we are at the 14th level (500,000). Because when I validate it, we have the victory music of the 1,000,000.

Could you fix it quickly and do a new build? I'll need it quickly for a little night out with friends.

Thanks you!

Pull questions from open trivia db

Finding questions and adding them manually is the hardest and slowest part of using this application. There is a online questions database which is API accessible, I suggest adding an integration to directly pull questions from this db into the app.

https://opentdb.com/

One button to quickly pull five easy, five medium and five hard multiple choice, any category questions would mean a user would be able to immediately play the game.

And perhaps a separate button and UI with filters for 'select a category', 'select a difficulty' which then you pull one question at a time. The response displays the new question and the user can either add the new question or request a new one.

Additionally, having functionality where the host (who is likely the one adding the questions) hasn't seen the answers, mean they can actually play with the ask the host lifeline.

Double Dip's final answer music cue persists if the player's first guess is correct [solution within]

If the player used the Double Dip lifeline and guessed the correct answer on the first attempt, then Double Dip's final answer music cue will play for every final answer thereafter. Currently, the code looks like this:

Public Shared Sub FinalAnswer()
        Dim stopmusic1 As Thread = New Thread(AddressOf StopCue1)
        stopmusic1.Start()
        If chance = 2 Then
            dd_Final.URL = Application.StartupPath + "\Sounds\doubledip_final1.mp3"
        ElseIf chance = 1 Then
            dd_Final.URL = Application.StartupPath + "\Sounds\doubledip_final2.mp3"
            active = False
        End If
        dd_Final.controls.play()
    End Sub

A simple fix is to add another "if/then" within this subroutine that checks if the player guessed correctly, then deactivate the lifeline. Here is the code that does that:

If HostScreen.pnlAnswer.BackColor = Color.Lime Then
            active = False
End If

Problems with Win 11

I have a Win 11 PC and I couldn't start the program, because I get a 50 Error code Local Database Runtime Error, and I absolutely can't find the solution for this. I spent a whole month for this and still nothing. Any idea? I would be appreciate, because I've used this before (and I really liked it) my another PC which was a Win 10 operating system, and worked perfectly. Oh and 1 suggestion! The Lights Down sound needs to be change and a bonus lifelines (for example. you have 5 or 6 lifelines maybe or you choose the option: switch the question or double tip or else)

Show Video footage on TV Screen

Hello,
Would be nice if we could show things like the Video Intro, Commercial Brake Video and other footage on the TV Screen. There is an option to play the sound but there is no video. Or am I missing something??

Thanks!

Crash after using lifeline

Hello, I am really enjoying this as the user interface is a lot friendlier than other projects I've seen!
I want to report an error where, after using lifelines and advancing to a question, the program crashes.
Specifically, I triggered "ask the host" on question 11 (third of four available lifelines). After the answer was revealed and I attempted to click on "Question" to advance to question 12, the program crashed.

Error messages are as follows:

Faulting application name: MillionaireGame.exe, version: 1.1.684.0, time stamp: 0x656a6912
Faulting module name: KERNELBASE.dll, version: 10.0.22621.2715, time stamp: 0xcc3ea002
Exception code: 0xe0434352
Fault offset: 0x00149132
Faulting process id: 0x0x3EAC
Faulting application start time: 0x0x1DA265D1FFCD070
Faulting application path: D:\MillionaireGame_v1.1.684\MillionaireGame.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: 8816b4fa-ccf6-4f8c-ae07-fc1a1906d82b
Faulting package full name:
Faulting package-relative application ID:

Application: MillionaireGame.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Runtime.InteropServices.COMException
at WMPLib.WindowsMediaPlayerClass.get_controls()
at MillionaireGame.Sounds.StopAudio(System.String, Int32)
at MillionaireGame.Question+_Closure$__._Lambda$__8-11()
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Threading.ThreadHelper.ThreadStart()

Crash when no more question available.

Hello,

I did some tests on your application (which is great by the way), but I noticed a very annoying problem, if we do not reset the questions used and there are no more questions to move forward in the game, this one crashes completely.

Wouldn't it be better to just have an error rather than a complete crash?

Thanks for your work and don't hesitate if you wants test for anything :)

FFF Client is missing

The FFF client is missing from the files after downloading and unzipping the release

Custom sound cues

Suggestion from Much More Matt:

Hey Marco, please read this. The "Light's Down" sounds the in the game is playing the wrong audio files.

"q1_to_q5_lights_down" plays for questions 1-5 (game levels 0-4), "q1_to_q5_lights_down".
"lights_down_classic" plays for questions 6-11 (game levels 5-10),.

Turns out that both audio files are the exact same (besides length) with different names.

Then "lights_down_2" plays for questions 12-15 (game levels 11-14).
 
In the SOUNDS folder, "lights_down_" 1, 3, 4, and 5 exist, but aren't being used by the game.

"lighs_down_classic" is supposed to play for questions 1-5,
"lights_down_" 1-5 are supposed to play on questions 6-10, and then again for questions 11-15.

Hopefully you'll have this fixed in a future update.

Love the game!

Question set import

It would be nice to be able to import all questions at once, for example from an Excel file. Of course with all attributes, such as a correct answer, description, etc.

Audio cuts off in FFF

Audio keeps cutting of sometimes when clicking on other open windows.
Most of the time, this will happen in FFF level.

[Bug] When launching for the first time, errors will appear from SQL Server.

"How do i install this when i run the 1st time setup it shows error, and do i need to install Microsoft SQL Server."

When on Windows 11 (or sometimes 10), there will be a lot of errors when you don't have SQL Server LocalDB installed or configured. Therefore, the game cannot run.

  • Update code and startup structure. (adding clear error message)
  • Change install guide.

Can't type vietnamese

I can't type Vietnamese words or sentences, especially when there are accents, it often shows characters like ?,//...

Double Dip

Hello, may I ask you how to implement Double Dip lifeline? I can see people taking about it here, so I assume it can be somehow activated...?
Thanks! Daniel

Always pop-up errors

The app always pop-up error (the Main app and QEDIT) even i install SQL
Main app error

Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

Retrieving the COM class factory for component with CLSID {6BF52A52-394A-11D3-B153-00C04F79FAA6} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

QEDIT
Unhandled exception has occurred in your application. If you click Continue, the application will ignore this error and attempt to continue. If you click Quit, the application will close immediately.

An attempt to attach an auto-named database for file C:\Users\duynguyendaccau\Downloads\MillionaireGame_v1.1.684\MillionaireGame_v1.1.684\dbMillionaire.mdf failed. A database with the same name exists, or specified file cannot be opened, or it is located on UNC share.

Money Tree Customization

So I suggest a money tree editor that would look something like this:
IMG_1831
For the risk mode section, marking the boxes sets the value to a safety net on that mode

The range for the amount of questions you can set is 1 to 17

There is also the ability to change to mode into shuffle mode (US 🇺🇸 2010-2015), when changing it to that mode something like this will pop in:
IMG_1832

FFF and ATA: Link with Twitch chat or input your own results

Right now the Ask the Audience appears to be based on an algorithm to randomly show percentages but leaning towards the correct answer.

I think it would be awesome if there was a way to link this up with Twitch to get results from chat (could also be a nice way of implementing FFF as well for Twitch, as most viewers are not super tech savvy with the FFF client).

If the above is too big a project, I think it would be a great addition if you could even just input your own results for the Ask the Audience instead of it just being generated by just an algorithm.

Need language support and audio related

Feature Request - Provide option to add question in other language (I tried with my native language Tamil. Its all question marks. Provide option to change music files, since the original sound tracks will bring copy right problems in social media.

Contestant Editor

  • Config file for storing all info
  • Name & Profile picture

This for making separate contestant profiles and information about the person.

New Lifeline: Double Dip + choosing which lifelines are active

This issue is regarding to the implementation of the lifeline Double Dip.
With this lifeline, the contestant can have two chances to give the right answer.
And to add a menu to choose the lifelines that are active in the game.

Summary:

  • Implement new lifeline Double Dip
  • Add a menu for custom lifeline sets.

Text diacritic problems - bug

Hello i'm from Czech Republic, and we have diacritic in the text like this ( Příliš ) ´ and this ˇ.
When i write question, diacritics will show until i saved it. For example i wrote this Příliš and after save it look like this Prílis.
Can you fix this little bug?

Customizable safety net

Feature Idea:
I was watching episodes from the British Who Want's to be a Millionaire and there contestants are able to set their own safety net in the range from 2,000 - 500,000 after reaching the question before it. Example: the contestant answered right at 8,000, they could set their safety net at 16,000. I can lookup references if necessary, if that helps

"Plus one" bug

When the Plus One lifeline is activated and the call is ended earlier than in 30s, the time disappears, but the phone icon still remains on the TV screen until the app is restarted.

Custom money tree (possibilities?)

Convert the current money tree to a more flexible, customizable one.

  • Custom guarantee money prize/positions.
  • Amount of questions (12 or 15).
  • Custom prize values.

FFF: 3 Stabs and Thinking music play at the same time

Hey Marco,

First off just want to say what an absolute masterpiece you've created for us all to use, I'm really grateful that this is open source to use.

Everything has been great so far, I've found a couple of quality of life changes that could be made but one that's really stood out to me is when the timer starts for the FFF functionality, the 3 stabs and thinking music play at the same time. To match the original format of the show, the stabs should play first on their own and then play the thinking music after.

Hope that makes sense, really looking forward to seeing what you come up with in the future for this!

Fixing up the question explanations

An improvement suggestion from Tanner Stockton:

Wonderful software! However, maybe add the ability to add an explanation for every question, like in the real game. This explanation would appear on the host screen after the answer is locked in. Besides, this is an amazing software and great job to you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.