Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)
You are not logged in.
I'm basically new to the World of C and GBDK and I'm basically programming a fun Sudoku game with over 15,000 puzzles! (if I can stuff it within' 4MB of code) and I'm trying figure out on how to make the Sudoku Grid by either making it as sprites or drawing it by C, what I can do to make a Sudoku grid without using sprites and taking up space?
I could draw it out but it gonna be tricky for the Gameboy to handle!
Offline
As far as I know, a Sudoku grid remains fairly static, so I would definitely recommend using the BG layer for that.
You could write the inital grid pattern to it and just modify a few bytes at a time when putting down numbers on it.
If you're going for a 9x9 grid it'll even fit very nicely within the 256x256 pixel BG map, meaning you won't need to put much effort into loading the BG as it scrolls.
Offline