Saturday, June 13, 2015

Do or do not, there's no try

Hey everyone. Last time i wrote about this online game application that i want to build up just by myself. I thought that Poker will be just fine for that and i could handle that. I was wrong. As i got into the rules of the game deeper (we're talking about texas hold'em) i realized that this will be a huge bite for me. There's too many things that i should be aware of, too difficult rules. I mean on this level where i am right now. Maybe later i'll come back to this and finish it.
But now i just simplify the game. I decided to create an easy blackjack game. Which is ofcourse not that easy though, but on my level it'll be a good practice. Since the last article i wrote the html and css code for the page. It's basic and simple, the main thing is that it should work fine. It came out though that i forgot many things since i've learned html and css. I've learned the essentials and then moved to javascript and jquery fast. Unfortunatly i'm not that designer type of guy, i don't have the eyes to that to be honest. So i moved back for a brief time to the very basics of web development. I've created also the cards that i will be using. I have now a complete deck and the back of the cards. I want to write the javascript code consciously and observe the rules of it as well. No hard code, only hard work. That'll be my motto i think. :) So the DOM traversing should only be done in the html document between the script tags. I don't want to hard code anything in the js file. I wanna also implement the object oriented programming to keep my code clear and better readable.
That'll be it for this post. As soon as i write more of the js i'll report that.