diff --git a/internal/game/board.go b/internal/game/board.go index 8f9c47e..33fc8a0 100644 --- a/internal/game/board.go +++ b/internal/game/board.go @@ -99,7 +99,7 @@ func (b *Board) Move(id, src, dest int) bool { func (b *Board) CanPlay(id int, c *Card, dest int) bool { brd := b.GetRow(id) - if !brd[dest].Empty() || !c.Spell { + if !brd[dest].Empty() && !c.Spell { return false } return true