Falling Crystals the Game

This is another game of mine created just in a few minutes.
It is a rather simple and boring game. I made it just in few minutes just for fun.
Rules: Simply avoid the crystals to fall or go off the screen by clicking on them.

Here's the link to play the game: Falling Crystals














 Click here to play my other games.

FeeshFoo 2D update #2




FeeshFoo 2D is a simple game where you have to feed the fish while avoiding any danger.

Updates:
#Improved UI and graphics.

The game is now available in gamejolt.
Play it here: FeeshFoo 2D




Features of FeeshFoo 2D:

#Tap on screen to make the fish jump.
#Collect as many apples as possible to score high.
#Avoid the bad fish, it can kill the fish(you).

Link to game : Download it here.

Also follow me on twitter to get my latest updates: @RaviiKmr

Learning JavaScript : Basics

Few days ago I decided to learn JavaScript. And started learning the basics of the language.
Here is what I have learned so far:

Variables:

There are six data types in JavaScript: number, string, Boolean, null, undefined and object.

Declaring a variable is simple.

var myVariable;


We can also initialize it as:

var  myVariable = "This is a string variable.";

Functions:

Function is used to group a set of operations. And call it whenever we want to use it.
A function can be defined as:
function helloWorld(){
  alert("Hello, World!");
}

To call this function we do:
helloWorld();

Events:

Click events
Click events are the mouse click events.
Let's try to do something when we click a button.
We will show an alert box when we press/click the button.



Here is the javascript code for this button:
  <input type="button" value="Click Me!" onclick="alert('You clicked me!')">
  


This is only the basics of JavaScript which I've learnt. Next time I will show more about JavaScript. Till then, check out my other posts and follow me on twitter: @RaviiKmr to get my updates.