Skip to content

grantUser/FuckingHelloWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FuckingHelloWorld

A "Hello World!" by artificial intelligence. But why? I don't really know, I was bored...

NOTE: This project is primarily a playful and humorous demonstration. Don't take it too seriously. The code is intentionally "a bit crappy."

Description

This project consists of a Python program that generates and displays the "Hello World!" message using a conversion between binary representations and ASCII characters. It's built around several classes that perform this conversion and uses a KNeighbors classification model to accomplish it.

Understanding the Code

The code is organized into several classes:

  • Base: A base class that contains a set of alphanumeric and punctuation characters. It defines a train() method to train a KNeighbors model.

  • BINARYAgent: A class that inherits from Base and specializes in the conversion between ASCII characters and their binary representation. It uses a KNeighbors model to perform the conversion.

  • ASCIIAgent: Another class that inherits from Base and specializes in the conversion between ASCII characters and their numeric values.

  • FuckingHelloWorld: The main class of the project that creates instances of BINARYAgent and ASCIIAgent to perform the conversion and generate the "Hello World!" message.

Usage

To run this project, simply create an instance of FuckingHelloWorld at the end of the script, as shown in the code. Once executed, the "Hello World!" message will be generated and displayed on the screen.

Note: This project has a humorous dimension and has no real practical utility.

Disclaimer

This project is intended for entertainment purposes and should not be taken seriously from a software engineering perspective. The code is intentionally simplistic and not meant to be an example of good programming. It was created for curiosity and creativity purposes.

About

A "Hello World!" by artificial intelligence.

Topics

Resources

License

Stars

Watchers

Forks

Languages