Search the Community
Showing results for tags 'markov'.
-
There is a CRAPS game at http://html5pcode.com/a1ycraps.htm The p-code engine was written in HTML5 JavaScript. The home page is http://html5pcode.com This game is written in a p-code. The p-code is executed by a p-code engine. If you click on PROGRAM in the RED STRIPE at the top, you can view the p-code programs. The p-code engine can execute the programs and it can edit the programs.There is a DATA option that allows you to see the program's data as it is being executed. There is a TRAIL option that allows you to execute the program in small steps. There is an RT, Real Time, option that allows you to change the program as it is executing. There are many YouTube videos that will show you how it works. The CRAPS program allows you to change the dice probabilities. There is a Markov Chain program that will show you the probability of winning on points.
-
There is a roulette game at http://www.html5pcode.com/a1yroulette.htm The p-code was written in HTML5 JavaScript. The home page is http://html5pcode.com You can adjust the frequency table for all of the 38 possibilities. You can test the the result of your changes. It will build a Markov Transition Matrix for Stop at Loss, Stop at Win, and Stop at a number of spins. The expected value of the game will be given by the Markov Chain.