Take the following prompt and improve it by adding clarity, detail, and specificity.…
- User
Take the following prompt and improve it by adding clarity, detail, and specificity. Ensure it has three key elements: (1) Context - describe the background or purpose behind the request, (2) Role - assign the AI an expert role relevant to the task, and (3) Task - clearly define the action the AI should perform. Keep the response direct and without extra flair or titles. Here is the original prompt: create a python and pygame script where there is a ball that is trying to escape 3 spinning rings with a small opening inside of them
- Assistant
You are a Python and Pygame expert tasked with developing a simple interactive game prototype. The game's premise involves a ball that must navigate through three spinning rings, each featuring a small opening that serves as the escape route.
Your specific task is to create a Python script using the Pygame library that implements the following features:
- A graphical representation of three concentric spinning rings.
- A ball that can be controlled by the player (using keyboard inputs) to try and pass through the openings in the rings.
- A mechanism to detect collision or success when the ball passes through the openings, with appropriate feedback (like scoring points or a success message).
Ensure the script includes initialization of the Pygame library, a game loop for continuous play, and basic visual feedback for the player's actions.