What did you do this past week?
This week me and my partner worked on the Darwin project. This consisted of making the Darwin, Species, and Creature classes, implementing their methods, making the run method (which includes reading in and parsing the input, setting up the turn-taking mechanics, and creating the output of the game (which, unusually we decided to implement in the Darwin class, since it had easier access to the creature grid and we couldn’t pass the grid via getters or setters (which was a bit of a challenge since the classes depend so much each other, like how the Species class has the instructions and the Creature class needed to use those instructions to update itself. We eventually got around this by having the Darwin class hold pointers to many Creature instances, and having creatures point to their species. In the end, our entire class configuration looks like one big Russian nesting doll (or Matryoshka doll, as is its official name)))).
What’s in your way?
We aren’t passing a lot of the tests. I’m not entirely sure why, but I recently found out that we have to make the row and column labels display only the most significant digit. Hopefully that fixes it.
What will you do next week?
Probably fix our code and then do all the extra hooha.
What was your experience of the vector implementation?
I’m a little confused on what the moral of the last Friday’s vector lesson was. And by confused I mean I don’t remember any of it.
What’s your pick-of-the-week or tip-of-the-week?
So apparently you can separate different pitches in sound using Fourier transforms. This is one way that they implement autotune. So if you’re feeling bored and/or up for a challenge, try making a program that can separate music into their different tones. Specifically, separate this song. It’s been driving me crazy. Like, it just keeps going up, but then you go to the beginning and it turns out the end is lower than the beginning? And I can’t seem to find the seam. I’ve even tracked the peak notes on a piano, but I still can’t figure it out. And this isn’t Shepard’s scale stuff, I can hear how that works; that’s just a rising tone followed by a sneaky tone coming in from underneath. But this one, this one’s baffling.
