internal void Tick(IMessageLog log) { ticks++; sweep.Tick(ticks, log); if (ticks % 30 == 0) { foreach (var player in Players) { var slot = Board.AddNewPieceAtRandomEmptySlot(player); if (slot != null) { log.AddPiece(slot); } } } }
internal void Tick(IMessageLog log) { ticks++; sweep.Tick(ticks, log); if (ticks % 30 == 0) { foreach (var player in Players) { var slot = Board.AddNewPieceAtRandomEmptySlot(player); if (slot != null) log.AddPiece(slot); } } }