91
E X E R C I S E # 3 0 : 3 D B O X D R A W I N G
drawBox(2)
→
+----+
/ /|
/ / |
+----+ +
| | /
| |/
+----+
In this exercise, we’ll move from 2D ASCII art into 3D ASCII art by programmatically
generating boxes at any given size.
Dostları ilə paylaş: