Browse Source

Refactor

master
balhau@balhau.net 4 months ago
parent
commit
b405714944
No known key found for this signature in database GPG Key ID: 1E666F326A121830
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      hall/montystate.go

+ 2
- 2
hall/montystate.go View File

@@ -45,8 +45,8 @@ func (montyHall *MontyHall) OpenDoor(slot MontyDoor) MontyDoor {
return alternative
}

func (referee *MontyHall) SelectDoor() {
referee.solution = RandomDoor()
func (montyHall *MontyHall) SelectDoor() {
montyHall.solution = RandomDoor()
}

func (player *ConservativePlayer) SelectDoor() {


Loading…
Cancel
Save