![]() ![]() ![]() It breaks an array in half then does that recursevily until you are left with tons of arrays of one item, and then you simply assemble it back into the correct order! How cool is that. Merge sort though, is pretty simple and works like this. Quick sort is a little more complicated than merge sort in my opinion. I have finished the recursion unit with merge and quick sort. Basically, its like a bug, but without it being a bug! How cool is that going to be? But yea, it could potentially redeem grid world from having no real use.īut yea, recursion. If im excited for anything in grid world, its critters.Ĭritters are like bugs, but you can do more with them. This isnt really that cool, but im sure in the future it can be expanded. You can use calls like move() and getLocation(), and other methods to move the bug and find out what he is doing. But yea, all i can do so far is make a bug move in different directions. I mean, i guess you can do some cool things in it, but really, it serves no real life purpose, and is super not applicable. so yea, since i last talked to you, all we have done is more recursion and some grid world. You can give someone the key and they can ![]() ![]() Word, except shifted a certain number of characters. So, you can grab the ascii value of aįor instance, a ceaser cipher allowes you to take the ascii value of aĬharacter, and then add some value to it, and mod by 26, giving you the final Into another character, or by changing the ascii value. You can do this by changing the character You to manipulate a whole new type of data, characters. Strings allow you to give output to the user that you normally could notĬommunicate well with. Although, you can add letters to them, so im ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |