Jurnal Info Sains : Informatika dan Sains
Vol. 15 No. 01 (2025): Informatika dan Sains , 2025

Analysis of the Monte Carlo Method in Simulation of Snake and Ladder Game Using R Programming

Afif Yasri (Unknown)
Ramlan Marbun (Unknown)
Harefa, Ade May Luky (Unknown)
Muhammad Syahputra Novelan (Unknown)



Article Info

Publish Date
24 Jun 2025

Abstract

This study applies the Monte Carlo method to simulate the classic board game "Snakes and Ladders" using the R programming language. The research aims to explore how randomness and probability influence the number of moves needed to complete the game and to provide a statistical overview of game outcomes. A simulation of 10,000 iterations was conducted, where each iteration represents one complete game play, starting from position 1 and ending exactly at position 100. The results show that players require an average of 51.41 moves to finish the game, with a minimum of 8 and a maximum of 394 moves. These results illustrate the highly variable nature of the game due to random dice rolls and the presence of snakes and ladders that can significantly alter a player's position. Visualization techniques such as histograms, density plots, boxplots, and line graphs were used to represent the distribution and variability of moves. The findings demonstrate the effectiveness of Monte Carlo simulations in analyzing stochastic systems, where outcomes are driven by random variables. This research contributes to the understanding of probabilistic modeling and can serve as a simple yet insightful example of applying computational methods to real-world scenarios.

Copyrights © 2025






Journal Info

Abbrev

InfoSains

Publisher

Subject

Computer Science & IT

Description

urnal Info Sains : Informatika dan Sains (JIS) discusses science in the field of Informatics and Science, as a forum for expressing results both conceptually and technically related to informatics science. The main topics developed include: Cryptography Steganography Artificial Intelligence ...