Chess is not about how many powerful pieces you have on board but about end game

Do you think if you have queen, rook and bishop on your side on the chess board then you will become a sure winner? Nope, that is not true. Although below chess game does not really prove the above concept but it is very close to prove it. Chess is not about what type of powerful piece you have on board but how you use those pieces through precise calculation on each and every possible positions that will lead you to victory.

In below game I start off the chess game playing as black and manage to win the game because I have started to really understand chess which I used to think it is the game about queen, rook and bishop. Today after this game my mindset has reopen to a new chapter and thus my entire chess strategy will change forever!

The end game is critical than the middle game and the opening game is always critical than the end game in Chess!

If Danish Gambit rejected, then how to continue the chess game?

What if your opponent rejects the Danish Gambit? Then what is the move you should play immediately to counter attack?

Below is a chess game which my opponent rejects the Danish Gambit by bringing his knight out instead of taking the pawn which I offered to him. That really makes the situation a lot more complicated than I have expected. The next move we should do if our opponent brings his knight out is to push our pawn upward and thus forced his knight to go somewhere else. Then we can have all the fun even though we have to abandon our initial plan. I did made a blunder and lost my knight during the game but I manage to come back strong and finished him up.

Don’t ever give up unless you really cannot come back anymore.

White makes this move and black resigns (chess danish gambit)

Danish Gambit is a chess opening I am using in almost 99% of my chess game nowadays. I like Danish Gambit because it is simple, it is effective against the aggressive player and it is almost perfect as compared to the English opening.

The beauty of Danish Gambit is it tricks it’s opponent deep into it’s territory by giving out piece after piece and then before the opponent can fully develop his pieces the Danish Gambit’s player will start to press forward and eventually destroys all the opponent pieces and finally wins the Game!

You need lots of practice and prepare to sacrifice lots of your own pawn when you are playing the Danish Gambit opening. It is a fun chess gambit to play but it is not for the chess beginner who has no idea what to do next when the Gambit goes wrong!

Java Maze Game : Boy and Robot

Boy and Robot is a homemade java maze game which runs on Java Virtual Machine. In order to play this game you will need to install JVM on your computer. Then click on the game icon to start playing the game.

How to play the game :

You need to collect all the stars on the maze board to win each level. If the robot gets you, you lose. If you have used up all the time before you have collected all the stars, you lose the game. Every time you lose the game you will need to restart from that level again. If you win then you will proceed to the next level!

Boy and Robot
Boy and Robot

For the Java Game Developer

If this is the first time you start to develop your java game then you might be interested in this program which will serve as the starting point for your Java desktop game development. Although the program is a little bit old but it will run on any desktop with any os which has JRE installed in it. Visit the official page of this game, download the game and play it while reading the code at the same time, have fun! http://amazeboy.codeplex.com/releases/view/616173

Black piece vs white piece who wins this chess game?

It is the summer time and the best method to cool down your body is to play a game of chess. My opponent who plays the white pieces is a IM but he is not playing well today as you can see there are many holes in his game. We both start our first few moves in the standard fashion. Then the situation on the chess board starts to change after he has made a very strange move by exposing my “left flange”. I know what he wants and I also can see there is a big hole in his game! The game continues and I further solidify my position on the chess board by bringing out my left knight into the game…

The last few moves are the one that really secure my victory against this player who ranks higher than me. He resigns after I move my knight…

How to create a random float in javascript?

The below javascript code will create a random float and shows it on the alert box. The Math.random method from javascript is very useful when it comes to creating a random number with javascript.

var random_v = Math.random();
alert(random_v);

The code above will cause the below outcome.

js random
js random

How to multiply two numbers with javascript function?

Javascript function is often used to carry out multiple tasks ranging from showing alert box to changing the inner html value of a webpage. Below code will create a function which will multiply two numbers passed into it and showing the result trough the alert box!

multiply(3, 4);
function multiply(a, b)
{
var factor = a * b;
alert(factor);
}

In order to use the above javascript multiply function all we need to do is to pass two numbers into that function and it will carry out it’s job accordingly.

How to detect the browser keydown event with javascript?

Here is how you can detect the browser keydown event and saved that keycode to an array.

//record keyevents
document.onkeydown = function(e){
  e = e?e:window.event;
  keyPressList[e.keyCode] = true;
};

We use the document’s onkeydown listener to listen for the keydown event on our web browser with the above code.

How to stop windows from auto downloading updates to your computer?

Some windows users just do not want windows to keep on auto downloading the softwares or updates that they don’t need to their computer. If you are just like me who uses a limited bandwidth’s broadband then those auto downloading jobs will really cost you lots of unnecessary bandwidths. If you have decided to disable the windows auto downloading job then the below method will help you out.

The method I am going to show you does not guarantee will 100% stop the auto downloading job because windows os actually can start the auto downloading job again if it wishes to, we simply cannot beat the operation system. However this method will certainly help you to temporary stop windows from auto downloading files into your computer. Here are the steps you need in order to temporary stop the updates from windows os.

  1. Open up the Windows OS Services manager. Find the Background Intelligent Transfer Service windows os
  2. Right click on it then select Properties to open up it’s Properties panel, under Startup type selection box select Disabled, also click on the Stop button below the Service Status to stop the auto downloading job if you need to, then click on the OK button to confirm your action.                                              BITS
  3. That is it! Now windows will not download anymore updates until you restart the auto downloading service again.

Good or bad, you decide:-

Do you really want the auto updating service to stop? There might have some important updates from windows that your will miss out if you disable the auto downloading function.