diff --git a/src/game.rs b/src/game.rs index 4b16874..b4e95a7 100644 --- a/src/game.rs +++ b/src/game.rs @@ -101,6 +101,10 @@ impl Game<'_> { } } } + + // Draw the next cell + let next_cell = self.pacman.next_cell(None); + self.draw_cell((next_cell.0 as u32, next_cell.1 as u32), Color::YELLOW); } self.canvas.present();