CREAR: crea un laberinto y usa un sprite para navegar por el laberinto hasta llegar a su final.

Enlaces útiles: Ejemplo #1

¡Asegúrate de leer los requisitos técnicos en los comentarios!

Guardar y enviar: haga clic en ¡ Envíe a menudo para ahorrar!

To navigate the page using the TAB key, first press ESC to exit the code editor.

### ---------------------------------- ### MINIMUM TECHNICAL REQUIREMENTS ### ### ---------------------------------- ###----------------------------------------- ### Create a function with a docstring to set up ### a maze or race track and add an end to the maze. ### ### Note: The maze and its end should be different colors. ### ------------------------------------------ ###----------------------------------------- ### Add a function to add the sprite which will move ### through the maze or track. ###----------------------------------------- ###----------------------------------------- ### Add functions to move the sprite. ###----------------------------------------- ###----------------------------------------- ### Add a Collision with Shape event to determine what ### happens when the sprite collides with the maze and ### the maze's end. ###----------------------------------------- ###----------------------------------------- ### Create a main() that calls the above functions ### and uses event handlers to events to your sprite. ###-----------------------------------------
  • Run Code
  • Enviar Trabajo
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)