programming for the Virtual Boy sucks
I spent about four hours sitting and programming a stupid Virtual Boy sudoku program. After that, I tried a different approach: I assigned each square in the square a number. So now there's 81 numbers, each with their own number. And yes, the code is as huge as you might expect for there being 81 variables, all basically sharing the same code. Unless there's a way to program this same thing for different variables, I'm pretty much stuck with it right now. The engine is pretty much complete right now. Now I have to figure out how to make different, unchangable numbers pop up at the start. And that sounds like what I did last night and tonight was easy. Anyway, with this setup, the controls are as follows : left dpad - move around the grid. right up/down - change numbers. Since there are no numbers in at the start (and, as such, no solving detection), you can make every number different and it won't do anything. I just spent the last half-hour trying to figure out why the numbers don't loop (after 9, go to 1 or before 1 go to 9). But they do now. And, if you look at my code, don't think I typed ALL that in: Copying, pasting, and replacing are my friends now. Whether I plan to continue this is up in the air, I just thought I'd show you this because I found it interesting.
1 Comment
Recommended Comments