Coder Social home page Coder Social logo

lh1207 / bkgdrop Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 70 KB

BkgDrop is a simple C# console application that allows you to customize the background color, text color, and choose whether to display randomized ASCII art. It provides a visually appealing and interactive experience where you can refresh the ASCII art or quit the program.

License: MIT License

C# 100.00%
ascii-art command-line console console-application console-color csharp interactive-programming mit-license randomization user-input visual-studio visual-studio-code

bkgdrop's Introduction

BkgDrop - Randomized ASCII Art Background

BkgDrop is a simple C# console application that allows you to customize the background color, text color, and choose whether to display randomized ASCII art. It provides a visually appealing and interactive experience where you can refresh the ASCII art or quit the program.

Usage

  1. Clone or download this repository to your local machine.

  2. Compile and run the BkgDrop.cs file using your preferred C# development environment (e.g., Visual Studio, Visual Studio Code, or command line).

  3. Follow the on-screen instructions to customize the program:

    • Choose a background color by entering the name of a ConsoleColor (e.g., DarkBlue, Red) or accept the default by pressing Enter.
    • Choose a text color in the same way.
  4. Enjoy the randomized ASCII art! You can press 'Enter' to refresh the art or 'Q' to quit the program.

Features

  • Customizable Colors: You can choose your preferred background and text colors to create a visually appealing display.

  • Interactive: The program prompts you for input, making it easy to configure the settings.

Example

image

image

BkgOptions Class

The BkgOptions class is used to manage the background color, text color, and art text (description) for the ASCII art. It provides methods for setting and getting these properties.

Properties

  • BackgroundColor: The background color for the ASCII art.
  • TextColor: The text color for the ASCII art.
  • ArtText: A description of the ASCII art.

Methods

  • SetBackgroundColor(ConsoleColor color): Set the background color.
  • SetTextColor(ConsoleColor color): Set the text color.
  • SetArtText(string text): Set the art text.
  • GetBackgroundColor(): Get the background color.
  • GetTextColor(): Get the text color.
  • GetArtText(): Get the art text.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Feel free to explore, modify, and use this program for your own entertainment or educational purposes! If you have any questions or feedback, please don't hesitate to reach out.

bkgdrop's People

Contributors

lh1207 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.