Javascript

Mini-Project: Intuition training game

I made a little project a few days ago that I forgot to post about. It's a mini-game that's called "Intuition training". It's actually a random game in which you choose a card out of four and have to guess the right one. The thing is that it records your…

Javascript wokflow for dummies - require.js

This is the part 2 of the Javascript workflow series. If you've ever made something big, you probably ended up with a big javascript file of 1XXX lines. Or maybe you tried to separate things in multiple files, in which case you probably ran into some problems. There is a…

Javascript workflow for dummies - scopes and variables

The thing with javascript development is that it is incredibly easy to begin with. This can really be the first language for anyone: No typing, extremely forgiving, extremely permissive. Basically you can write whatever you want and it will compile. Well, it won't work, but it will compile most of…

Experiments: Perlin noise 2D and 3D worlds

Have you heard of Perlin noise? It is quite an amazing thing that has a wide range of uses in games (and in other stuff). Basically, Perlin noise is a random number generator between 0 and 1 with inputs. But instead of generating pure random numbers, it generates numbers that…

Experiment of the day: Procedural wallpapers

Today was experiments day. Yesterday I was reading the first chapters of The New Turing Omnibus which is a very good read, both entertaining and instructing. One of the first chapters presented a pretty simple algorithm to generate wallpapers. It strucked me how simple it was. Basically: 1. Input corna,…