Unit 2: TUI Projects

Previous:

 Main Page


Next: 

Game Projects


WHAT IS TUI?

What is TUI?

"TUI" stands for "Text-based User Interface." A Text-based User Interface is a user interface that relies solely on text to convey information to users and receive input from them. Unlike graphical user interfaces (GUIs) that use graphical elements such as windows, icons, buttons, and menus, TUIs use text characters to create a user interface.

TUIs are often used in scenarios where a graphical interface may not be practical or necessary, such as in command-line applications, terminal-based programs, or when working with remote servers via a command-line interface (CLI). 

When someone refers to TUI in the context of Python projects, they are likely talking about developing a user interface for a program or application using text-based elements and interactions. This could involve displaying information, receiving user input, and providing a user-friendly experience within a terminal or console environment.

Introduction to TUIs and Menus

Task 1  | Understanding Text-Based User Interfaces (TUIs)

~ Approximately 1 week


This week, let's dive into the fundamentals of TUIs. We'll unravel the significance of Text-Based User Interfaces and discover their versatile applications. Through hands-on practice, you'll craft a simple TUI program, gaining proficiency in essential elements like text input/output, formatting, and navigation. The week will culminate in the creation of a text-based project, where you'll learn the art of designing menus in TUIs for an engaging and interactive user experience.

Log into Education Perfect and complete the assigned course.

You will Create a Simple Calculator for Peer Review.

Adding Color to TUIs and Advanced Menu Features

Task 2  | Understanding Text-Based User Interfaces (TUIs)

~ Approximately 1 week

Building on your newfound TUI skills, the second week introduces an exciting dimension – the addition of colour. We'll explore ANSI escape codes to infuse vibrant colors into your projects. Practical exercises will challenge you to enhance your project visually. Moving forward, we'll delve into advanced menu features, including nested menus and interactive elements. Guided by hands-on coding sessions, you'll extend your projects, showcasing mastery with added colour and sophisticated menu functionalities. The week concludes with a final project presentation, providing a platform for you to share your enhanced calculator projects and discuss your learning journey.

Log into Education Perfect and complete the assigned course.

You will Create a Simple Calculator for Peer Review.

Student Examples of TUI projects

Naughts and Crosses Game using colour to enhance user interface

Battleships Game

Adding colour to highlight procedure to user like "skipping" in blue

Using ASCII Art to add graphics and creating MENUs that give user flexibility