I'm not a programmer. I've been playing poker and I want a tool to simulate some results to better understand variance.

I played a 100 games with each game consisting of 3 players in a winner take all format (so with all else being equal there is a 33.3% chance of winning).

Despite adhering strictly to GTO strategy I found myself under the average of 33.3% with a 28% win rate. In fact at one point I lost 11 games in a row. This is discouraging however I decided I should manage my expectations with context.

I put together this code to simulate playing 100 games x 10, however I am told that this may not produce true random results and I was wondering if there is a better method or piece of code that would be more inline with reality. If it's not true random then this exercise is somewhat pointless.

Since I'm not programmer and a stupid head you might have to spell it out for me. I actually downloaded eclipse today just for this.

Thanks guys!

 
import java.util.Random;
 
public class Random1Class {
 
	public static void main(String[] args) {
 
		int win = 0;	
 
		Random rand = new Random();
		int randomNum;
 
 
for(int v = 0; v < 10; v++) {		
 
		for(int i = 0; i < 100; i++) {
 
			randomNum = rand.nextInt((100 - 1) + 1) + 1;
 
			if( randomNum <= 33.3) {		
				win = win + 1;	
				}	
		}
 
		System.out.println(win);
		win = 0;
}		
 
 
 
	}
 
}