In this chapter’s code alongs, we will use Go to implement the craps simulator and election forecast algorithm that we discussed in the main text. Before implementing these Monte Carlo algorithms, we will need to understand how Go implements pseudorandom number generation.

close

Love P4❤️? Join us and help share our journey!