anchor.diff:      }
     }
   
  +  // now write the grid to memory
     setVectorToMemory();
   }
   
  
positive.code:   wc.lpfnWndProc = Pointer.fromFunction<WindowProc>(MainWindowProc, 0);
    wc.hInstance = hInstance;
    wc.lpszClassName = CLASS_NAME;
    RegisterClass(wc.addressOf);
  
    // Create the window.
  
    hWnd = CreateWindowEx(
        0, // Optional window styles.
        CLASS_NAME, // Window class
        TEXT('WinSnake'), // Window caption
        WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_MINIMIZEBOX | WS_VISIBLE,
  
        // Size and position
        CW_USEDEFAULT,
        CW_USEDEFAULT,
        800,
        600,
        NULL, // Parent window
        NULL, // Menu
        hInstance, // Instance handle
        nullptr // Additional application data
        );
  
    if (hWnd == 0) {
      stderr.writeln('CreateWindowEx failed with error: ${GetLastError()}');
      exit(-1);
    } else {
      SetTimer(hWnd, IDT_TIMER1, timerAmount, nullptr);
  
      isRunning = true;
      while (isRunning) {
        // Run the message loop.
  
        final msg = MSG.allocate();
        while (PeekMessage(msg.addressOf, 0, 0, 0, PM_REMOVE) != 0) {
          if (msg.message == WM_QUIT) {
            isRunning = false;
          }
          TranslateMessage(msg.addressOf);
          DispatchMessage(msg.addressOf);
        }
  
        final dc = GetDC(hWnd);
        final rect = RECT.allocate();
        GetClientRect(hWnd, rect.addressOf);
        final windowWidth = rect.right - rect.left;
        final windowHeight = rect.bottom - rect.top;
        draw(dc, rect, 0, 0, windowWidth, windowHeight);
        ReleaseDC(hWnd, dc);
      }
    }
  }
  
negative.code: import 'package:ffi/ffi.dart';
  import 'package:win32/win32.dart';
  
  // Win32-specific vars
  final hInstance = GetModuleHandle(nullptr);
  int hWnd;
  const IDT_TIMER1 = 1;
  const IDT_TIMER2 = 2;
  
  final rng = Random();
  
  final bitmapInfo = BITMAPINFO.allocate();
  Pointer<Void> bitmapMemory = nullptr;
  int bitmapWidth;
  int bitmapHeight;
  const bytesPerPixel = 4;
  
  bool isRunning = false;
  int gameOverRow = 0;
  bool wipeDown = true;
  
  int appleX = 0;
  int appleY = 0;
  