Save-Point
Learning Ruby is fun! - Printable Version

+- Save-Point (https://www.save-point.org)
+-- Forum: Games Development (https://www.save-point.org/forum-4.html)
+--- Forum: Development Discussion (https://www.save-point.org/forum-17.html)
+--- Thread: Learning Ruby is fun! (/thread-67.html)



Learning Ruby is fun! - amp - 07-07-2010

I just made my first program with Ruby! A badass tip calculator. At first while reading these books on the programming language, I was pretty overwhelmed. I did the tutorials for "Hello World" and whatnot, studied variables and conditions, and decided to just wing it and apply some of the things I learned. Simple math was obvious from the start, so I thought a tip calculator would be a great test of skill. My particular program utilizes simple variables, the gets method for requesting user input, if-else condition to check for negative numbers, and of course the math to calculate your share of the bill.

I'm really satisfied with myself at this point and feeling pretty excited about learning Ruby. I thought I'd share it with the community so they can feel as much joy as I do :P

Oh well, off to learn more!


Learning Ruby is fun! - ovan35 - 07-07-2010

Coolness I thought about learning Ruby to be able to customize my games better..My hands seem so full with learning c++ and dark gdk though. But congrats on your success with Ruby. I stole a couple of glances at the script language used in rmxp to call it mind boggling is a understatement.What do you hope to do with it ultimately?


Learning Ruby is fun! - jubhub731 - 07-07-2010

Sweet Ruby is fun to learn , Or it was for the tidbit i know . So this calculator what does it do exactly ? So enjoy learning and making your brain go numb but in the end it has a small chance of being worth it :D