Ninja pain
This is how the PianoNinja is feeling tonight after suffering a difficult blow:
We had a little setback involving lost code. Ironically, this happened when I was trying to set up version control to guard against this very thing. I’ve posted a message to the user’s list for the IDE that failed to give me a warning before deleting all this naive user’s code, in hopes that similar mistakes by other users can be prevented. Hindsight is 20/20. I should’ve backed it up before trying to…back it up. It would also have been good to have Time Machine set up already, but I hadn’t done that either.
Thankfully, I did still have an older version of the code from before I switched over to the development environment that I’m now using, so I don’t have to start totally all over. And you can be sure that I have already secured that code into version control on a server machine so that I can continue from now on from a solid base.
How bad is it? Well, we were on Video #7. Let’s just say we’ve now reverted back to Video #3. In other words, all the code I wrote in the last two weeks is gone.
Maybe this is a blessing in disguise. Sure, I learned a lesson and I won’t make this mistake again. But the blessing might be that my continued dependency on MIDI files as the game’s underlying format is now that much less alluring. The MIDI crutch has been snatched out from under me. I don’t need to wrest myself from the MIDI code so I can move onto a better way. The code has wrested itself from me…
I was going to add bar lines tonight. Oh well, those can wait.
Before you know it, the ninja will be feeling better than ever.
cheif said,
February 17, 2009 @ 5:24 pm
Hi, I was wondering about how Piano Ninja was going.
I’m a game developer (C and Java programmer) looking to learn some piano via software, and your project really caught my attention while I was googling for info on the subject.
Is Piano Ninja still being developed? Are you planning to open source it? Would you like another programmer to help out?
I’ve got a few years of J2ME game development (and optimization) under my belt, as well as a few years of teaching game architecture, which might be useful for a project like this.
If the project is dead, would you be interested in sharing what remains of the code?
LelandVem said,
February 19, 2018 @ 11:15 pm
whoah this blog is excellent i like studying your articles. Keep up the good work! You already know, a lot of persons are searching around for this info, you can help them greatly.