You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The program is a very basic maze game, to be developed by my students who are in a Building high school, who must learn to use Python in their future job (as construction engineer).
Steps to reproduce
Create a FrenchTurtle(Turtle) class, inheriting from turtle.Turtle class
In the init def :
a. define a self.hurt_sound as an AudioSegment opening a boing.mp3 file
a. def advancer(x) : this def checks if there is a wall on the way of the turtle
- i. If yes (the self.wall_hurt is True) a boing sound is played and the turtle goes until the wall
- ii. In no, the turtle moves forward normally x steps.
b. def play_hurt_sound() :
- i. Just plays the boing sound.
play(self.hurt_sound)
Expected behavior
The turtle must reach the maze exit in less of 2’30'' and in the minimum of tries.
When the gamer requests the turtle to move too much of steps and it hurts the wall, the boing sound must be played once.
Actual behavior
When the turtle hurts the wall, the sound plays correctly, but then the app crashes, at line 62 (return PlayObject(play_id) in the shiny.py file)
code error : Process finished with exit code -1073741819 (0xC0000005)
The program is a very basic maze game, to be developed by my students who are in a Building high school, who must learn to use Python in their future job (as construction engineer).
Steps to reproduce
- i. If yes (the self.wall_hurt is True) a boing sound is played and the turtle goes until the wall
- ii. In no, the turtle moves forward normally x steps.
- i. Just plays the boing sound.
Expected behavior
The turtle must reach the maze exit in less of 2’30'' and in the minimum of tries.
When the gamer requests the turtle to move too much of steps and it hurts the wall, the boing sound must be played once.
Actual behavior
When the turtle hurts the wall, the sound plays correctly, but then the app crashes, at line 62 (return PlayObject(play_id) in the shiny.py file)
code error : Process finished with exit code -1073741819 (0xC0000005)
Your System configuration
boing.zip
The text was updated successfully, but these errors were encountered: