Skip to main content
Tweeted twitter.com/StackCodeReview/status/858763119379795969
edited tags
Link
200_success
  • 144.2k
  • 22
  • 188
  • 473
deleted 24 characters in body
Source Link
Jamal
  • 34.9k
  • 13
  • 133
  • 237

The program works and the probabilities are correct (I ran it 100 times just to make sure and got 74 wins and 26 losses, which is around about what I'd expect). I'm just not sure the program is as efficient as it could be. In fact, given my relative lack of experience I'm pretty sure it isn't. Would anyone be able to tell me how good they think the code is, how I could go about improving it? Many thanks.

The program works and the probabilities are correct (I ran it 100 times just to make sure and got 74 wins and 26 losses, which is around about what I'd expect). I'm just not sure the program is as efficient as it could be. In fact, given my relative lack of experience I'm pretty sure it isn't. Would anyone be able to tell me how good they think the code is, how I could go about improving it? Many thanks.

The program works and the probabilities are correct (I ran it 100 times just to make sure and got 74 wins and 26 losses, which is around about what I'd expect). I'm just not sure the program is as efficient as it could be. In fact, given my relative lack of experience I'm pretty sure it isn't. Would anyone be able to tell me how good they think the code is, how I could go about improving it?

edited tags
Link
Peilonrayz
  • 43.5k
  • 7
  • 76
  • 155
Source Link
Loading