Skip to content

Commit

Permalink
Fix randomness
Browse files Browse the repository at this point in the history
NOTE: The dice were always 3, this will fix the randomness of the die of the player
  • Loading branch information
fruitfreter committed Dec 9, 2021
1 parent a215da8 commit 2cb25e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.ml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,6 @@ let main () =

(** Initiates the game with random seed chosen for demonstration purposes. *)
let () =
Random.init 70;
Random.self_init ();
ANSITerminal.resize 150 240;
main ()

0 comments on commit 2cb25e8

Please sign in to comment.