@exelotl Thanks! I'm fine leaving it here.
I don't mind telling that the morse code is going to be a core gameplay element. I think it's cool and have always wanted to learn it and how better than a mysterious video game? I was reading about methods for learning it and am pretty interested in the Koch method. It seems to really lend itself to gamification and might have caught on more in its day if the gameboy (or even a pc) was a thing. I'm currently figuring out how to cram the beeps and boops into the GBA and had a lot of fun pair programming with my wife Kayla who's a rust wizard and general cutie.
Dunno if I mentioned that my toolchain for the game is agbrs. I like rust a lot more than c and agbrs has lots of good tutorials I could look at if I wanted (being honest here- I'm in full goblin mode and really wish I had the patience for tutorials- it would make my life a lot easier).
Kayla helped me figure out functions for packing and unpacking the 2-bit morse segments I came up with yesterday into 8 bit chunks- since Rust doesn't have a 2-bit primitive and I was floundering. I'm glad I had help since my first solutions were much more janky (Kayla's been programming at least 10 years longer than me and lives and breathes computers so I'm really lucky)
I then wanted to be a good girl and write some tests. I was all set to run cargo test (and almost cried when I learned Rust supports tests inside your modules, and doesn't make you write a separate file for them), but the computer was nice enough to remind me I have no standard library for the GBA, and commenting out ![no_std] whenever I wanted to run tests felt like it would incur the wrath of an outer god or two. Thankfully agbrs has its own pretty slick test setup using mgba. The only problem is the tool I needed to install needed a static mgba library- something the installations available on Fedora linux don't provide as far as I'm aware (I could only find a flatpak and an appimage). So I got to compile mgba from source. After a couple hiccups it was installed and I get to find out tomorrow if I actually get to run tests.
I'm pretty new to all this, and wish I could make progress faster, but I'm having fun, and hopefully this is at least entertaining to read! I'm not sure what detail is helpful and what is extraneous, so I'd be happy to field questions or take constructive criticism.
Till next time! Good luck with your stuff!