Skip to content

same program as the Single threaded version however supports use of multiple threads. Ideal for the larger calculations.

Notifications You must be signed in to change notification settings

SURAlSA/MultiThreadedLiarsDeckCardSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Liar's Deck Valid Card Simulation (Multi-Threaded)

Liar's Deck Valid Card Simulation is a multi-threaded C++ application designed to analyze the probabilities in the card game Liar's Deck, featured in the Steam game Liar's Bar. This simulation helps determine the expected number of valid cards a player may receive by running large-scale simulations efficiently using multiple threads.


Features

  • Simulates Liar's Deck games to analyze probability distributions.
  • Counts occurrences of hands containing 0 to 5 valid cards.
  • Provides statistical insights into expected player outcomes.
  • Multi-threaded execution for faster and more efficient processing.

Installation & Usage

Compilation

To compile the simulation, run the Makefile using the command make.

Running the Simulation

Once compiled, execute the program from the terminal (example runs the simulation 500 times using multiple threads):

./MultiThreadedLiarsDeckValidCardSimulation.exe 500

The program will output statistical data summarizing the results of the simulations.


Additional Information

  • For the official rules of Liar's Deck, refer to the Liar's Bar Steam page or online sources.
  • This project is purely for probability analysis and does not replicate the full game mechanics.

Author

About

same program as the Single threaded version however supports use of multiple threads. Ideal for the larger calculations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published