Skip to content

Latest commit

 

History

History
104 lines (80 loc) · 5.81 KB

README.md

File metadata and controls

104 lines (80 loc) · 5.81 KB

Cobol Badge
GitHub Badge Email Badge BuyMeACoffee Badge
Bronze


COBOL ASCII Robot Art Program - "COLBOT"

This simple COBOL program displays an ASCII art robot "COLBOT", along with the message "BEEP BOP". The robot ASCII art is rendered in the terminal when the program is executed.


Table of Contents

Getting Started

  1. Install GnuCOBOL: Before running the program, make sure you have GnuCOBOL installed on your system. You can install it using a package manager like Homebrew:
brew install gnu-cobol
  1. Compile and Run: Follow these steps to compile and run the program:
  • Open a terminal.
  • Navigate to the directory containing colbot.cob.
  • Compile the program:
    cobc -x -o colbot colbot.cob
    
  • Run the compiled executable:
    ./colbot
    
  1. Enjoy the Robot: After running the program, you'll see the ASCII art robot along with the "BEEP BOP" message displayed in the terminal.

Sample Output (Meet COLBOT!)

      _____                                                       
    /       \\  BEEP BOP BEEP BOP                                 
   |  O   O  | /                                                  
   |    ∆    |/                                                 
   \\  ---  /                                                     
    \\_____/                                                      
         |                                                        
      ___|___                                                     
     /       \\                                                   
    | COLBOT  |                                                   
    |         |                                                   
    |_________|    

Feel free to modify the program or the ASCII art to create your own custom output.

Note

The appearance of the ASCII art may vary based on the font and rendering of your terminal.

Resources

License

This project is released under the terms of The Unlicense, which allows you to use, modify, and distribute the code as you see fit.

  • The Unlicense removes traditional copyright restrictions, giving you the freedom to use the code in any way you choose.
  • For more details, see the LICENSE file in this repository.

Credits

Author: Scott Grivner
Email: scott.grivner@gmail.com
Website: scottgrivner.dev
Reference: Main Branch