Episode 17 of the Coder's Block podcast out now
#Game Development
Coding Tetris In JavaScript Part 1
Coding Tetris In JavaScript Part 1

Tetris is one of the first games that many of us played as a youth. It's fun and challenging and a level can take you from anywhere to a minute to forever if you so play your cards right. So in honor of the game, in this blog post, we'll go over how to build a Tetris clone in JavaScript without using any 3rd party libraries. Just plain old vanilla JavaScript and CSS.

Continue reading
How To Code Blackjack Using JavaScript
13
How To Code Blackjack Using JavaScript
How To Code Blackjack Using JavaScript

Today I will be building a small BlackJack game in pure JavaScript in the hopes that you out there reading this can use it as a frame to build something much bigger. And if you're a beginner in the programming world, than perhaps this tutorial will help you get a much better idea of how function, objects and DOM manipulation works in JS.

Continue reading
How To Create A Rain Effect Using Crafty.js
How To Create A Rain Effect Using Crafty.js

In this post I will cover how to create a rain effect using the JavaScript game engine, Crafty.js, for a 2D side-scroller type of game. If you're new to Crafty, then feel free to check out my previous posts in which I cover the framework from a beginner's perspective.

Continue reading
I'm Making A Game In 2017
I'm Making A Game In 2017

Every year i tell myself the same thing. I'm going to make a game and it's going to be amazing. It's going to take you, the player, to another world. It will be a text-based, 80 hour long journey into the unknown. It's going to have a Hans Zimmer type soundtrack and it's going to win awards. Sounds amazing I know. Each year I normally get as far as creating a new project in some fancy sounding game framework IDE, running the Hello World program, feeling some sense of pride and then never thinking about it again. And the results end up looking like someone's nightmare after a night out in the forest.

Continue reading
How To: Make A Game Using Crafty JS Part 1
4
How To: Make A Game Using Crafty JS Part 1

I recently went on a journey to find a good and simple to use 2D game engine, and after much reading, much installing, and much configuration I landed on Crafy.js. It's open source, cross browser compatible and has a tiny footprint and best of all, it runs in my browser, which means I can develop from anywhere pretty much. It's the quickest to set up, because it's literally just a tiny JavaScript file. I tried to play around with Unity2D but gave up trying to install a sample project. Try it, and you'll see what I mean. And because I'm new to game development, whatever gets me up and running the fastest is the right choice for me.

Continue reading
Coding The Snake Game In JavaScript
Coding The Snake Game In JavaScript

We've all seen the infamous snake game. It was a staple of non-smartphones back in the day. In this post, we'll be building something similar in JavaScript. This won't be the fully functional version, but it should get you pretty close to a fully functional version.

Continue reading
Coding Tic Tac Toe In JavaScript
9
Coding Tic Tac Toe In JavaScript

In this post we'll be building the ever popular Tic Tac Toe game in JavaScript. It's a relatively simple implementation and the most complex portion is the calculation of a win scenario. If you are relatively new to JavaScript, then I highly recommend Web Design with HTML, CSS, JavaScript and jQuery as a good starting point.

Continue reading
Guest Posts

About Me

Walter G.
Walter Guevara
Walter G. is a software engineer with over 10 years of professional experience. When he isn't blogging or being a CTO he enjoys coding randomly complex things that he hopes many people will get a chance to use one day.
Podcast

Classic Snake High Scores

1. TSD
43
2. wag
41
3. BT
15
Start
Score: 0
snake left
snake up
snake down
snake right