https://github.com/maxkrv/race00-virtual-reality
https://github.com/maxkrv/race00-virtual-reality
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/maxkrv/race00-virtual-reality
- Owner: maxkrv
- Created: 2023-01-27T16:09:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-27T16:18:48.000Z (over 3 years ago)
- Last Synced: 2025-01-20T21:48:50.035Z (over 1 year ago)
- Language: C
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# race00-virtual-reality
Race00 consists of two tasks:
## mx_cube
You need to create a function mx_cube that prints a representation of a 3d cube to the standard ouput.
Example:
```
mx_cube(6);
+------------+
/ /|
/ / |
/ / |
+------------+ |
| | |
| | |
| | +
| | /
| | /
| |/
+------------+
```
## mx_pyramid
You need to create a function mx_pyramid that prints a representation of a 3d pyramid to the standard ouput.
Example:
```
mx_pyramid(4);
/\
/ \ \
/ \ |
/_____\|
```