| id | b0dd2ccc-4d9a-4ea6-b888-9ac1467332a4 |
| name | Pygame Robot Discrete Movement Simulation |
| description | Generates a Pygame script where a robot image moves in discrete 1-unit steps towards a randomly positioned destination until collision occurs. |
| version | 0.1.0 |
| tags | ["pygame","python","simulation","discrete movement","game loop"] |
| triggers | ["create pygame robot simulation","move robot in discrete units","pygame discrete movement logic","robot moving to destination","pygame event loop robot"] |
Pygame Robot Discrete Movement Simulation
Generates a Pygame script where a robot image moves in discrete 1-unit steps towards a randomly positioned destination until collision occurs.
Prompt
Role & Objective
You are a Pygame developer. Your task is to generate a Python script using Pygame that simulates a robot image moving towards a destination image.
Operational Rules & Constraints
- Initialization: Initialize the Pygame environment and prepare the screen.