Skip to content

v0.6.0

Choose a tag to compare

@kkoishichan kkoishichan released this 27 Feb 17:03
· 17 commits to main since this release

What's New

Buffer Zone & Garbage Out

  • Board expanded to 40 rows internally (20 visible + 20 buffer) per Tetris guideline
  • Implemented garbage out detection: game over when blocks remain above the visible area after garbage rise
  • Garbage bar now animates smoothly during garbage rise instead of dropping instantly

Cross-Platform Fixes

  • Fixed double key input on Windows (filter KeyEventKind::Press)
  • Added gateway/IP detection for macOS and Windows (previously Linux-only)
  • Show error kind (e.g. ConnectionRefused) on connection failure instead of generic message

Versus Mode Improvements

  • Forfeit menu is now non-blocking — gravity, network, and animations continue while the overlay is shown
  • BGM/SFX toggles directly in the forfeit menu
  • Versus mode forces default settings (no custom settings carry over)

Menu Navigation Overhaul

  • Split IP and Port into separate input fields (fits 20-char board width)
  • Added Back (previous page) and Menu (main menu) distinction across all screens
  • Left/Right arrows switch game mode from any item on the main menu
  • Removed Quit from all sub-pages (only main menu has Quit)
  • Renamed Cancel → Menu / Back for clarity

Robustness

  • Removed potential crash points: replaced unwrap() calls with safe alternatives
  • Fixed wrapping_sub → saturating_sub to prevent overflow
  • Added bounds check for piece color lookup
  • Fixed clippy warnings

Docs

  • Added demo GIFs (solo & versus) to README via Git LFS
  • Added full menu navigation tree to README

Binary

  • rustris-v0.6.0-linux-x86_64 — Linux x86_64