Dice Game Design

https://github.com/YFEvEC/Monte-Carlo-simulation/blob/main/main.tex
Project Overview
Objective:
To analyze different strategies in a simulated game environment, where two players strive to achieve a score closest to a predetermined goal (25), exploring the impacts of the chosen strategies on each player's winning probabilities.

Game Mechanics:
Start:
A coin toss determines the first player.
Play: Players alternately decide the number of dice (0-5) to roll and either add or subtract the total value of the dice from their current score.
Rounds: The game consists of three rounds.

Winning Criteria: The player whose score is closest to 25 at the end of three rounds is deemed the winner.

Analysis Approach:Implement multiple game simulations to examine the effectiveness of various strategies.Evaluate the outcomes to determine which strategies are most successful in optimizing the chances of winning.

Outcome:This project will yield insights into the optimal strategies that players can adopt to maximize their winning probabilities in such goal-oriented games.
My Contributions
Research and Planning:
  - Research and understand the underlying mechanics of the game, including probabilities associated with rolling dice.
  - Draft a development plan that includes milestones and deliverables, defining the scope and objectives of each phase of the project.
 
Design and Development:
  - Develop algorithms to simulate the game, implementing rules and allowing for strategic decisions.
  - Write efficient and clean code to execute the simulations and gather data on the outcomes.
 
Testing and Debugging:
  - Conduct thorough testing to identify and rectify any bugs or errors in the program.
  - Optimize the code for performance, ensuring that simulations run smoothly and efficiently.
  - Validate that the program accurately represents the game’s mechanics and rules.

Data Analysis:
  - Analyze the data generated by the simulations to identify patterns and trends.
  - Develop statistical models to evaluate the effectiveness of different strategies.
  - Create visual representations of the data, such as graphs or charts, to illustrate findings.
 
Review and Refinement:
  - Review the program and its findings, seeking feedback from peers or mentors.
This project entails the creation of a simulation program for a dice-based game. By leveraging computational power, the program aims to uncover and analyze the underlying probabilities and strategies associated with the game. The analysis will focus on discerning optimal strategies and decision-making processes within the game's rules and structure, supported by extensive data analysis and statistical modeling. The entire process, from development to findings, will be meticulously documented to provide a comprehensive overview of the project’s journey and conclusions.

Dice Game Design
CODER/DESIGNER
Jun 2023 — Aug 2023