Text Based Animations

frame-based-animationIn this challenge we will use Python code to create text-based (ASCII) animations. Each of these animations is using a main loop that repeats the given code every 0.2 seconds and clear the screen between two iterations (frames).

Check our four animations below:

Flying RocketHello World AnimationRolling Die AnimationSpace Invader Animation

Flying Rocket Animation



Hello World Animation


This animation use string slicing to animate any piece of text!

Rolling Dice Animation


This animation uses the random library to simulate rolling a die:

Space Invader Animation


If you have ever played the game Space Invaders, you will remember the path that aliens follow, progressively coming down towards your spaceship.

Your Task


Create your own text-based animation using a similar approach. You can get started by tweaking any of the animations provided above.

Here are some ideas of text based animations you could recreate:
text-based-animations

unlock-access

Solution...

The solution for this challenge is available to full members!
Find out how to become a member:
➤ Members' Area

Did you like this challenge?

Click on a star to rate it!

Average rating 4.4 / 5. Vote count: 22

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: