teaching machines

Feature 2 – Kevin

April 13, 2013 by . Filed under cs455, postmortems, spring 2013.

For this feature, I basically converted all of the diamond algorithm Chris Johnson showed us to C++and slightly modified it to make the terrain flat instead of ┬ávertical. ┬áThe hardest part of this beyond just going through and understanding Chris’s code was that I had some +1 errors in the writing to the file portion of my code.

Here are some screenshots of my code and of my auto-generated terrain.

Here is a video of it: http://www.youtube.com/watch?v=eMEPzZlUelw