Deadline: Never
You just hit a home run! In this challenge, you must construct a baseball diamond in ASCII and print it to the console.
Example:
V
V M V
V
Final Result Example:
Summary
P
P P
P P
P P
P P
P P
P P
P M P
P P
P P
P P
P P
P P
P P
P
Requirements / Guidelines:
-
The baseball diamond board must be 15 rows and 15 columns.
-
Whitespaces are the unit of measurement! Each 0 represents a single " " whitespace.
-
The console refresh rate of “printing/clearing the console” must be 25fps
-
The letter
V
must represent the bases. -
The letter
P
must represent the player. -
The letter
M
must represent the Pitcher’s mound (center of the diamond) -
The speed the player runs around the bases must be every half a second.
-
Each base the player touches must be changed to a
P
. See example below:
-
The player must start from home base.
-
Once the player returns home, the app will exit.
The submission with the least amount of bytes wins!
edit: Yes, this isn’t a real diamond as displayed in the picture. But it’s good enough :)