Befunge isn't used much outside of code golf, but I wanted to try to learn it. I got a random number generator from Wikipedia and decided to modify it so that it ended. Here's what I have:
v>>>>.v>
?^
12345@
^ ^
> ? ?^
v?v
v6789>
And I was wondering why it has a tendency to generate the number 2 a lot, usually repeated. Is it just the interpreter?