Wednesday, January 15, 2014

Are you Human?


     Well, I'm back and hoping there'll be less stupidity today which will be difficult since I forgot my wallet like a genius, so water is my drink today. One of my g+ peoples shared some music that I thought I'd check out. So, I'm listening to Tomahawk. Never heard of them, but it seems kinda nifty. Now it's time to plug in and plug away!

     Blackjack. That's a fun game. Now I'm going to be writing code to make the game. Good news: I like the fact that they want you to think about how to figure it out by yourself. Bad news: I don't like the fact that once you uncover the "hint" that tells you what you need to do, it turns out there's only one way that they will take as a pass. It should be that if it works, that's a pass. If you don't tell me how to get it done, I should be able to have a certain amount of freedom as to how it gets done, but no. Only one way. Oh well. I just wish there wording had been a little bit more transparent.
Well, that was easier than I thought it was going to be. I didn't like how they finished it, but it works. So, whatever.
     Now I've moved on to a "review primitives" section. Pro: I remember most of it. Con: all they have you do is print a sentence to the console to pass the section. This is going to take some personal initiative. After playing with some of the lessons, they are now actually having me do some stuff. So, I don't have to come up with my own stuff. I kinda liked it. Ah well, back to the grindstone.

     I really like using <Math.random()> and such. It's so easy and yet so useful! A handy dandy little random number generator.

     OK, this was a little strange; I just did a lesson and they had a var that they didn't use, but they wanted me to answer. I'll show you:
// Write your full name
var myName = ("Mookie Chess");

// And your age
var myAge = 24;

// Are you a human? Be honest.
var iAmHuman = "no";

console.log("My name is " + myName + " and I am " + myAge + " years old.");

Am I human? Alone a strange question, but then to not use it? It's times like these when I over-analyze things. I just want to know!  But hey, now I have a post title.

     So, a Boolean is only true or false? Well, OK then. Good thing I looked it up, or I would have been stuck. These guys really don't inform you of everything, but then I suppose that's a good thing. Use some personal initiative to get through sort of thing.

     Hey, another badge!







We made it through! Olé!
Well, hopefully I won't be so slow to Google some definitions next time! See you humans on Friday!
--Martin

No comments:

Post a Comment