Skip to content

posenberg/Horse-Racing-Animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Horse-Racing-Animation

The script horse_racing animation was created for for a Python 3.x study group. It works on Python 2.x, too.

I took a 1920's series of film slides and convered them into ASCII art.

The script also relies on modules:

import time 
import os
import random

A clearScreen function was created with the os module to make it usable for different systems.

# this is called after every frame needs to be cleared on the terminal

def clearScreen():
    if os.name == 'posix': 
        os.system('clear') 
    elif os.name == 'nt': 
        os.system('cls')

About

Fun with some ASCII animation via Terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages