diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2025-06-25 11:07:04 -0500 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2025-07-03 22:01:22 -0400 |
| commit | c831f2908c0a50344293d0d39ca4daabbca35434 (patch) | |
| tree | 27631efa6dfa9c1deea011836cc04bf5ed965a60 /go/game/state.go | |
| parent | 844b302ea1f8154010af39b3303790dc12b04737 (diff) | |
| download | muhqs-game-c831f2908c0a50344293d0d39ca4daabbca35434.tar.gz muhqs-game-c831f2908c0a50344293d0d39ca4daabbca35434.zip | |
change phase names to match the rules
Diffstat (limited to 'go/game/state.go')
| -rw-r--r-- | go/game/state.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/go/game/state.go b/go/game/state.go index bf977299..261fcb2a 100644 --- a/go/game/state.go +++ b/go/game/state.go @@ -156,7 +156,7 @@ func (s *LocalState) Loop() []*Player { p.Deck.Shuffle(s.Rand) } - s.activePhase = Phases.DrawPhase + s.activePhase = Phases.DrawStep p.Draw() s.activePhase = Phases.UpkeepPhase @@ -171,8 +171,8 @@ func (s *LocalState) Loop() []*Player { p.buyPhase() s.phaseChange() - s.activePhase = Phases.DiscardPhase - p.discardPhase() + s.activePhase = Phases.DiscardStep + p.discardStep() s.endOfTurn() |
