Skip to content

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.

License

Notifications You must be signed in to change notification settings

scottgriv/cobol-ascii_robot_art

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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


About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages