theoretical end: Breakthrough

This commit is contained in:
vova-rs committed 2026-10-13 00:05:10 +03:00
1 parent 651c4713c2
commit bda716da90
3 files changed
+77 -4

No files matched your search

+3
View File
@@ -12,6 +12,9 @@ pub struct Board<const N: usize> {
}
impl<const N: usize> Board<N> {
pub const fn from_layers(layers: [[u64; 2]; N]) -> Self {
Self { layers }
}
pub fn apply_patch(&mut self, patch: &MaskPatch) {
for layer in self.layers.iter_mut() {
layer[0] &= !patch.clear_mask;