Love it when things work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Love it when things work

Early on in my learning I lacked ideas so I made various functions and methods for later use, one of which was a Pythagorean Theorem that measures distance on a 2d screen. I finally got to use it on a game I am building and it worked flawlessly. pasted my method into my game and called it with distance_to(x,y,x2,y2) awesome. if you need to check distance, feel free to check my codes and take it, but give credit where credit is due!

13th Mar 2017, 12:07 AM
LordHill
LordHill - avatar
2 Answers
+ 21
your enthusiasm is contagious! great job.. keep it up
13th Mar 2017, 12:56 AM
niteOwLTwO
niteOwLTwO - avatar
+ 1
thanks man, just love this shit. If not for my job, wife, and kids I would code all day long
13th Mar 2017, 1:02 AM
LordHill
LordHill - avatar