SNAKE! Our project

--Originally published at It's me

Old but gold! Our project was to create a video game… Well, recreate, the famous game of the snake. It was very hard and we used a looot of help, the best of the help, It has different levels of hardness and basically you move the snake with the arrows  on your keyboard and you eat for getting bigger, when you lose you can play again or close the game. It is great, not as amazing as the original but it really is fun, you adapt to it after a few times of playing.

We used code blocks for compiling the code and it worked! Here’s a slideshow:

Haga click para ver el pase de diapositivas.

We know that it isn’t a huge project but we wanted to bring back good stuff back from the past and also to see how technology has advanced a looooot, but that doesn’t mean old technology isn’t good, we spent a lot of time doing this “simple” project.

We hope you guys like it!

Priscila and Dany (me).

Original feature image recovered from: https://www.flickr.com/photos/jdhancock/3594710082/in/photolist-6tDQ53-d9mLWw-4w7ttR-9VDSF3-efGgwU-7NsP-aLRJHi-7XiP3e-7mJzo1-4spNXs-4smoU-8LEAKN-d4rcKC-4skT6R-aNCMEK-cHy2SQ-aBfLKX-64xx7c-78F4oj-aUB3kT-aUB3Kx-84a1EJ-98q5Wz-9HHGpM-aUB3Gx-hnvZg-7dbRU-aBfLPr-9Enhbq-bx99ny-aUB3qV-PTvgi-bx99PQ-CXHiz-gSFHm5-mUL-476mvr-s4s5t-5WGLkg-6VTkoL-7ViA6f-aUB3fR-paTTSX-aUB3oK-bwUz7b-s4s5z-6jgCCL-5WM12L-4zzsU2-5zLCvN


BANANAS! #WSQ11

--Originally published at It's me

I thought I wouldn’t achieve to make this program but I did it, with the help of my friend Majo from the course, my friend Bere and Fabrizzio‘s tutorial (they are really helpful, again I must admit it). I used again the library fstream, then the functions that in this case, prints out how many words there are per line. It amazing and it includes loops, new functions, and different returns. The code resulted this way: Banananana

It worked:

BAnana

Original feature image recovered from: https://www.flickr.com/photos/mischiru/377334869/in/photolist-zkWvB-4sELSK-9nPrR3-53LxV-5zBZuX-pgG5Mv-FBRDL-7LdshL-4C2n2m-4fv3jm-6VEqyq-cRMDfG-67mduA-c55QAY-cvYVR-pTPGC-brkdh2-8fvsoE-4zT3vT-4e6F4w-61Xj6f-9szWP4-hfCq6-kAYH8-8m16fo-5YNrja-AiiDN-5DMeyo-6ouxF5-4uitcG-31274-4oqpQ-4QunFH-aM8c6-5EYnsg-918PKw-RXw3c9-kpoY-5QVGYU-4uitYL-8bZhKH-85vsE-obgGR-8CFKWc-4A7WBC-3uoGJo-64qS9r-EE31w-8FgYoF-aNsBn


e… Yes, e. #WSQ12

--Originally published at It's me

This is great… In this program we had to estimate the value of “e” by giving certain number of decimals. I include the library iomanip for the code to work. I used Fabrizzio‘s tutorial and Bere’s help. I used to functions, the first one was easy because we already used that kind of funtions and the second one used things I’ve never seen, but once Bere explained me, everything was fine. Here is the code:

e2

Here how it worked:

e

Original feature image recovered from: https://www.flickr.com/photos/giotto2009/9695805129/in/photolist-fLMx4X-bUrqKG-2ToA4i-5UUxAx-e9UWPF-38HgKB-jKNivm-foLqe6-6FAry4-aj5Qoc-9TgzGb-6S7LdR-9cmiuQ-2HMHm6-7QZDAh-4DnyP9-8md35F-dLBLQ3-aK8CJ-odtJLg-81grw3-CLSiZ-bzoD1G-7BHEY5-86LSMU-9W6yjh-7drWPL-7EDPPa-oW6358-4y9YZz-SjJkWS-6bf1xZ-7qJq4j-oi5psx-6QjBS1-4u7SUh-48YY6x-wCYu-8KohFt-erbVd9-pwdopG-pq79Fq-f6JhEP-6esxmF-82PyBZ-9fBGhm-prV6xd-4DpJVJ-4mLQ1y-5HF9kX


Applied science! You’ll love it

--Originally published at It's me

I looooove this Facebook page. Yes, Facebook page. It is full of new inventions of technology, science and computer for the health of people. That motivates me a looot, because like you may know or not, I’m studying biomedical engineering, and knowing that there are still a lot of things to be discovered or to be produced in order to help in the quality of a person’s life, is the best sensation. Even if you are not really into it, I think you’ll like that page, every video is interesnting and they have a very short duration, just look at it one day. This page is all scienceeeee!

Hope you like it.

 


Pictures!!

--Originally published at It's me

WOW, I haven’t realized that actually sharing pictures is womething wonderful. I didn’t knew Flickr until Ken told us about it. I started using it to look for pictures and put them in the assigments, but it was when I started to enter to their profiles and watch all the pictures, I’m fascinateeeed! People share a lot of beautiful things, pictures that capture the essence of life and not only life, ordinary objects, but you find the beauty on them… I really enjoy watching them, I automatically get happy. Here are two profiles, just as example because I really like more than 5…

https://www.flickr.com/photos/bogenfreund/

https://www.flickr.com/photos/kwarz/

Hope you like them.

Feature image recovered from: https://www.flickr.com/photos/130799750@N03/16169099399/


Babylonian method… #WSQ10

--Originally published at It's me

Wow, this was… Interesting. I really enjoyed doing this program, it is not so long but it really is pretty. We had to make a function for finding the square root of a number using the babylonian method. I supported in this video for the making of this code. No extra libraries needed, except for the cmath because we used it for the function sqrt to confirm our babylonian function. I’ll show you my code.

Babylo

Here’s how it works:

BabyloGood

Original feature image recovered from: https://www.flickr.com/photos/30557460@N05/14843947180/in/photolist-oBH7kN-aA6P3C-aA6NBN-o4nMSD-nJVZoA-nDNppx-nG3dL7-obntFg-nNDLVn-oa1L4C-nuWJgj-nU1xnx-pUg4x8-nxLsSc-jvqYX-PGNau-cTzRaC-jvr4C-cTzRmW-cTzRy7-5hDb9L-eofdS-PprL4N-nBpBHD-4bqGVr-e8zXYw-8EAVM-bsQqsJ-24H5CQ-7Gbzuy-81G4ZC-jgdfDp-N4Z73-5xMNCT-8mweK2-5xMNh4-8mzkZQ-8RBxKi-3ihi6m-a4FKH5-gmHSxh-gmJ5Vv-gmHr7A-3k5UP1-87VB1A-aA46Pc-CRDk8i-S24bn5-S4Gxgc-T4JbV9


I’m 196! #WSQ08

--Originally published at It's me

Honestly, this task was very difficult for me. It consisted in making a program that, from a range of numbers, found if there are any lychrel numbers, but what is a lychrel number? It is a number that cannot form a palindrome (a number that remains the same when digits are reversed). So, for this assigment I get some help of a friend and this tutorial (I’m really surprised on how can he do all that). First, we needed to add the library “BigInteger” because the numbers analyzed could be very big, and the string library. Then we have a bool function and a BigInteger function and then the magic happens in the main… Here is my code:

Lychrelnum

Original feature image recovered from: https://www.flickr.com/photos/taroonga/6896524010/in/photolist-bvqujo-xQuxa-aF5nYH-Uw4b41-iDQp9z-pFdaLR-b4M8Cx-bV1khG-6N1rYX-bUZTRU-dWyaEP-QCter9-hkDwhv-7XsDkr-UmQn6v-RY73X5-56zXgt-iS7egX-SPkkqW-qhBU78-T5tEsE-p3MrMm-bRJnAM-ffAoMV-hm9LWc-5orAzQ-awug4Q-bVqetb-Tb5hLo-2hJCg6-3UzXQF-97V3Bu-cxbiqj-hNar1U-96xSqA-7q97aB-dLd6iL-8ckgXa-e8Urw5-ba3RaR-edygKp-ndAb1M-bpdS9b-q3K1wh-RBrGT1-SbfwsX-itwSVL-fbUUaC-QRvaEQ-5AkR6z


Programming through the years…

--Originally published at It's me

When was C++ created? Or Python? Or Java? I know it isn’t that important to know it, but it’s interesting to know how programming languages have been changing through time. I wasn’t very involved in programming or knowing about the technology in computers and stuff, but since I entered ITESM and well, that I needed it for my career I started to like it. I think that technology nowadays is very advanced and we have to use it for health and social good, we MUST use it for that. Anyway, I found this infograph, that you might found interesnting, of the programming languages:

https://www.thesoftwareguild.com/blog/history-of-programming-languages/

Have a nice week!

Original feature image recovered from: https://www.flickr.com/photos/bogenfreund/15610487302/in/photolist-pMrQ1N-eRpL7-ygGUtA-3x5k2-2ux5Qu-cB6m9J-8bQ6SH-4cvdtW-9tRX81-4cvcWh-b2Y1vX-4cvdgJ-729b4-4creiD-9A8uFb-556MQr-ytXiv-4nz9JB-tFuRZ-Lrcg5R-8ZsF7H-5Sp1bk-imhND-kmfRx-5Xnd1G-vhBLQ9-9snAH4-7B4Xii-qcMXUo-a6GPmL-yfe97-2TqYAf-6hbgKX-oKH1ET-6g9yoP-iyQwg-662Gz6-ce6EGQ-37iJVd-mcSv2-dssLCH-pXC3MM-F6aNg-98PULS-dvPDZ9-9JoCic-9xeHkK-4s6q3J-5uUzWm-dagmPq


Files, files… #WSQ09

--Originally published at It's me

I didn’t understand quite well this program and I did it a little basic, cause you can only name your file “TextFile.txt” for the program to read it, but it works. I got the help of my friend again, her name is Bere, she’s really good at programming… and I used this video. I include the fstream library, the use of a struct and I created a function. Here’s the code:

DataFile

Original feature image recovered from: https://www.flickr.com/photos/quinnanya/2493803790/in/photolist-4NnoZ5-7hKg3v-JKuw4P-RSMg6d-bnJG2C-e3L8Bv-e8yRMj-ae3PEn-ppTzHf-5S44uo-deUrjh-4e2EDR-5VL3j8-7i5ivr-6LCSLJ-9p4LAi-47aayj-5yzwxX-6He56Z-6LCTWN-TfybLJ-5UuvKk-gf6bg-6LCTpS-6LyKb4-6mqpui-kbLxTH-ngaxKh-ao7jBT-bqf6Tw-9qxCDv-3StdY-8cXt9m-6iQG7r-ax2up9-pd6GQE-8E6Re3-6LyKwF-puiLKr-psxTcU-65AsR8-5TdRrh-pd6cGm-puiLop-e8ySko-5ebbPm-5zg15x-ei6CEE-pd6VUK-8sDdEE


Ideas!…

--Originally published at It's me

You may not know Alan Kay, I didn’t until I quote one phrase of him at the top of my blog:

“The most disastrous thing that you an ever learn is your first programming language”- Alan Kay

and Ken told me he met him and that he gave conferences and won awards and sounded interesting, he shared with me this webpageHis childhood was quite interesting, very different, you can read about it on the web site and he is known to be the father of personal computers.

But this is not everything, I watched a video from TED of him presenting “A powerful idea about ideas” and I liked it so much it’s awesome how he explains ideas or his point of view of them. Ken was right, he’s a very interesting and awesome man.

I invite you to read his biography or watch the video I put.

Original picture recovered from: https://www.flickr.com/photos/marlenek/2051394370/in/photolist-48gW5s-9CqhUq-5NYEf4-aFNmuv-5CGU4C-9CkUzX-6S2e5B-7tF9MV-6S2ept-6S6i8E-9Cm78Z-8hv6p-9CoSqS-9CoV1Q-9Cp1tf-9C8C7a-9C9go1-9Ceima-9C6Cmr-9CrPXW-9C6jxZ-9CergT-e6J7on-6S6ixb-9CeGGV-9BWKCj-9CeDeV-6avNr7-9Cm2tv-9CkRND-DdGx1-9CoRuJ-68uqJy-9CoP5T-3bM38G-9CoYmF-9CrEMC-9V3FMq-9CnBP2-9Cs9DJ-KCMFp-5YPAoc-9DhkSw-9Cpq2V-QN1dVo-7xdzZG-9DemSc-9Deq5B-9CoTQD-9CpwgM