You are viewing a single comment's thread from:
RE: Snake3D: Released Version 1.0 containing more features and bug fixes. [Repost]
Thanks for your review.
- Based on what I found on the internet unit tests are to check on a test case if the result of some function is correct. What would it be good for in this project? I really don't see any good use of it.
- Yes that would reduce the overall number of calculations, but it wouldn't really say it simplifies the logics of
move()where the main problem are all those checks when the head changes to another area of the cube. But thanks anyway. I'll implement it the next time I work on Snake3D. - Yes. That's what I already started doing by making size refer to that one constant in main.