forked from root/public
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
5 years ago
|
## ascii-art-color
|
||
|
|
||
|
### Objectives
|
||
|
|
||
5 years ago
|
You must follow the same [instructions](https://public.01-edu.org/subjects/ascii-art/ascii-art.en) as in the first subject but with colors.
|
||
5 years ago
|
|
||
5 years ago
|
- The output should manipulate colors using the **flag** `--color=<color>`, in which `--color` is the flag and `<color>` is the color name of choice (ex: orange, green, blue).
|
||
5 years ago
|
- The colors must respect the [RGB](https://en.wikipedia.org/wiki/RGB_color_model) concept.
|
||
5 years ago
|
- You should be able to specify a single or a set of letters you want to be colored (use your imagination for this one).
|
||
|
- If the letter isn't specified, the whole `string` should be colored.
|
||
5 years ago
|
|
||
|
This project will help you learn about :
|
||
|
|
||
5 years ago
|
- Client utilities.
|
||
|
- The Go file system(**fs**) API.
|
||
5 years ago
|
- RGB color model.
|
||
5 years ago
|
- Ways to receive data.
|
||
|
- Ways to output data.
|
||
|
- Manipulation of strings.
|
||
|
- Manipulation of colors on the terminal.
|
||
5 years ago
|
- Manipulation of structures.
|
||
|
|
||
|
### Instructions
|
||
|
|
||
5 years ago
|
- Your project must be written in **Go**.
|
||
5 years ago
|
- The code must respect the [**good practices**](https://public.01-edu.org/subjects/good-practices.en).
|
||
5 years ago
|
- It is recommended that the code should present a **test file**.
|
||
5 years ago
|
|
||
|
### Allowed packages
|
||
|
|
||
|
- Only the [standard go](https://golang.org/pkg/) packages are allowed
|