Play Snake
play_snakeStart a game of Snake as a short study break. The snake grows as it collects food and speeds up as the score rises. Options: difficulty (easy/medium/hard), game_mode (classic/timed), grid_size (10-30), speed (1-10). Runs entirely in the widget; no content is generated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | Initial snake speed (1-10, default 5) | |
| game_mode | No | Game mode (classic, timed) | |
| grid_size | No | Grid size (10-30, default 20) | |
| difficulty | No | Game difficulty level (easy, medium, hard) |