Alfin Mubarkah Tanjung
Universitas Sumatera Utara, Indonesia

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Implementation of the Monte Carlo Method in Random Walk Models for Analyzing Gambling Bankruptcy Problems Kaka Davi Dharmawan; M. Khalil Gibran; Cici Melisma; Dedek Nurlina; Muhammad Nafis Riziq; Alfin Mubarkah Tanjung
G-Tech: Jurnal Teknologi Terapan Vol 10 No 1 (2026): G-Tech, Vol. 10 No. 1 January 2026
Publisher : Universitas Islam Raden Rahmat, Malang

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.70609/g-tech.v10i1.9016

Abstract

Gambler's Ruin Problem (GRP) is a basic stochastic model used to analyze the probability of a player reaching a target wealth versus losing all capital through sequential random games. This study has two main objectives: to validate the Monte Carlo simulation model against established theoretical results and to conduct a comprehensive sensitivity analysis of the probability of bankruptcy and game duration relative to the probability of winning , initial capital , and target capital . The simulation model was developed in Python as a one-dimensional random walk model, using  replications for initial validation. The results show a high degree of conformity, with an empirical simulation probability of 0.5004 compared to a theoretical value of 0.5000, in accordance with the Law of Large Numbers. Sensitivity analysis shows that a small deviation in  (e.g.,  drastically increases the probability of bankruptcy to over 88%. Furthermore, the average game duration peaks in the fair scenario  at 2,502 steps and decreases significantly under biased conditions. This study confirms the effectiveness of the Monte Carlo method in measuring the impact of the “house advantage” and provides counterintuitive insights into the dynamics of stochastic games.