This project is an ASCII art program implemented in Go. It takes a string as input and outputs a graphic representation of the string using ASCII characters. The output resembles the input string with ASCII characters.
- main.go
- testfile
- go.mod
- shadow.txt
- standard.txt
- thinktoy.txt
- printart.go
- readbyline.go
- readtxtfile.go
- Handles input with numbers, letters, spaces, special characters, and newlines.
- Supports various graphical templates using ASCII characters.
- Written in Go with adherence to good practices.
- Includes test files for unit testing.
The ASCII banner files included in the project have specific graphical representations formatted in ASCII. Each character has a height of 8 lines, and characters are separated by a newline (\n) character.
The following banner formats are included:
shadow
standard
thinkertoy
To run the program, use the following command:
go run . "<your_string>"
For example:
go run . "Hello"
Here are some example outputs generated by the program:
_ _ _ _
| | | | | | | |
| |__| | ___ | | | | ___
| __ | / _ \ | | | | / _ \
| | | | | __/ | | | | | (_) |
|_| |_| \___| |_| |_| \___/
_______ _
|__ __| | |
| | | |__ ___ _ __ ___
| | | _ \ / _ \ | '__| / _ \
| | | | | | | __/ | | | __/
|_| |_| |_| \___| |_| \___|
Only standard Go packages are used in this project.
Aoron Ochieng |
Emmanuel Barsulai |
Abraham kingoo |
- Understanding the Go file system (fs) API.
- Manipulating data in Go.
1. Fork this repository.
2. Clone the forked repository.
git clone https://github.com/011369/starter
3. Navigate to the project directory.
cd ascii-art
4. MAKE A NEW FOLDER WITH YOUR PROJECT NAME INSIDE
5. Also Add a README file in your project folder which consists of Description/screenshots about your project !
6. Create a new branch.
git checkout -b <your_branch_name>
7. Add & Commit your changes.
git add .
git commit -m "<your_commit_message>"
7. Push your local branch to the remote repository.
git push -u origin <your_branch_name>
8. Create a Pull Request!
Congratulations! Sit and relax till we review your PR, you've made your contribution to (https://github.com/011369/starter) project
If you encounter any issues or have suggestions for improvements, feel free to submit an issue or propose a change.
Feel free to explore the codebase, run the program with different inputs, and contribute to enhancing the project. Happy coding!