Skip to content

Files

Latest commit

78cf103 · Feb 29, 2024

History

History
12 lines (9 loc) · 607 Bytes

README.md

File metadata and controls

12 lines (9 loc) · 607 Bytes

Entering the directory and running cargo run will pull all dependencies and run the project.

Currently Implemented

  • Moving the cursor with arrow key buttons. Later we could implement keybindings and a menu, too
  • Dropping the fruit with the spacebar.
  • Merging and collision logic.

Bugs

  • Rapidly pressing space prevents a second fruit from spawning; will need to lock the drop_fruit function while update_collisions is waiting for a collision.

Bugfixes

  • No texture collision on fruit drop. Now, a fruit will only respawn after the last one has collided with some other fruit or the floor.