An open API service indexing awesome lists of open source software.

https://github.com/maxkrv/race00-virtual-reality


https://github.com/maxkrv/race00-virtual-reality

Last synced: 12 months ago
JSON representation

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);
/\
/ \ \
/ \ |
/_____\|
```