Skip to content

Commit

Permalink
Refactor integer to string functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
eliminmax committed May 7, 2024
1 parent f83d2da commit 172c912
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions befunge/colortest.befunge
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
v > 88+10p v print the color cube
> v
>55+, v>52*:,,$ ">"7:8*3-\2*p ^ v*7+5601< < <
v >">"55+5*77+p 88+10p v print the color cube
$ > v
>55+, v>52*:,,^ v*7+5601< < <
v:+88<^,,,< the above overwrite the cell > :v
v_39*,"m0["^ x=53,y=14 in the decimal print v*89 <
>:88+\- v cluster, causing it to return to > `! v^ :-1\<
Expand All @@ -9,12 +9,12 @@ v_39*,"m0["^ x=53,y=14 in the decimal print v*89 <
v*84,"m"<v,,,< >0v ,[ >">"955++5^
>:,,v v0< ,4 ^p+76*8+65"v"p<
^ :-1< >85*1+:v ,8 >">"46*1-4*76+^
^ < v!`*94 <:< ,; ^ p01*4-1*48 <
print the first >68*+,v >v >v - ,5^ p01<
16 colors / # \`>>:52*/86*+,v v_:10g+\1^ ,; >:85+4*\`|
^*:*52:<*! v%*52 < ^>10g+005v v<" + 8>v $ v
# 5>| v"m "" "< v`\0:< >#, v>^
> >:52*:*\`!|2 > >68*+, ^ >,,,v v$_:10v * 6 5*4
^ < v!`*94 <:< ,; ^ p01*4-1*48 <
print the first >"0"+,v >v>:52*/"0"v >v - ,5^ p01<
16 colors / # \`^<v%*52,+< v_:10g+\1^ ,; >:85+4*\`|
^*:*52:<*! ^>10g+005v v<" + 8>v $ v
# 5>| >"0"+, ^ v"m "" "< v`\0:< >#, v>^
> >:52*:*\`!|2 > ^ >,,,v v$_:10v * 6 5*4
v%*:*25<: 1 v+g< 9 g >^>*^
> ^ - >\1-^ v 3# ,,,,, <
>^ > >:| #
Expand Down

0 comments on commit 172c912

Please sign in to comment.