CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-asciimatics

tessl install tessl/pypi-asciimatics@1.15.0

A cross-platform package to replace curses (mouse/keyboard input & text colours/positioning) and create ASCII animations

Agent Success

Agent success rate when using this tile

81%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.33x

Baseline

Agent success rate without this tile

61%

task.mdevals/scenario-8/

Terminal Welcome Screen

Create a terminal-based welcome screen animation that displays greeting messages using text effects.

Requirements

Build a program that creates an animated welcome screen with the following components:

  1. Static Header: Display a static title "WELCOME" at the top of the screen that remains visible throughout the animation.

  2. Color-Cycling Status: Display a status message "System Ready" that automatically cycles through different colors.

  3. Scrolling Banner: Display a scrolling message "Thank you for using our application!" that moves horizontally across the screen.

The program should:

  • Initialize the screen and set up the animation scene
  • Display all three text effects simultaneously
  • Run the animation for at least 100 frames
  • Clean up properly when finished

Test Cases

  • The static header displays "WELCOME" at position (30, 5) in white color @test
  • The color-cycling text displays "System Ready" at position (28, 10) and changes colors automatically @test
  • The scrolling banner displays "Thank you for using our application!" and moves horizontally at position y=15 @test
  • The animation runs for at least 100 frames without errors @test

Implementation

@generates

API

def create_welcome_screen(screen):
    """
    Create and return a Scene with welcome screen effects.

    Args:
        screen: The Screen object to render to

    Returns:
        Scene: A Scene containing all the welcome screen effects
    """
    pass

def run_welcome_animation():
    """
    Main function to initialize screen and run the welcome animation.
    Handles screen initialization and cleanup automatically.
    """
    pass

Dependencies { .dependencies }

asciimatics { .dependency }

Provides text effects and screen rendering capabilities.

@satisfied-by

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/asciimatics@1.15.x
tile.json