This commit is contained in:
Crispy 2024-09-30 21:12:41 +02:00
parent 4102f5a351
commit b686a670d2
2 changed files with 3 additions and 5 deletions

View file

@ -1,5 +1,4 @@
(print sum of 123 and 45) (print sum of 2 numbers)
o o
> 1230 B > 1230 B
vo A-+ vo A-+
@ -17,8 +16,7 @@ v> * 1 o ^
F -R0 * 4 B F -R0 * 4 B
*| # < -A8 v *| # < -A8 v
| # < | # <
#| #-| v <
-| v <
| *-| | *-|
F +B * ^ F +B * ^
#< \F---- #< \F----

View file

@ -230,7 +230,7 @@ impl Machine {
print!("{}", c.cyan()); print!("{}", c.cyan());
} }
} }
print!(" :: "); print!(".");
for (val, dir) in marbles_on_row { for (val, dir) in marbles_on_row {
print!("{}", format!("{}{} ", dir.char(), val).magenta()) print!("{}", format!("{}{} ", dir.char(), val).magenta())
} }