Thursday, February 4, 2016

JavaScript AI For An HTML Sliding Tiles Puzzle


Sam Loyd (1841-1911), American chess player and puzzle maker, created the sliding tiles puzzle in the 1870s. The puzzle is represented by an mxn grid, where m is number of columns and n is number of rows, and each cell can be any imaginable value (number, letter, image, and so on.)



JavaScript AI For An HTML Sliding Tiles Puzzle


The purpose of the puzzle is to rearrange the initial configuration of the tiles to match another configuration known as the goal configuration. The rearrangement task is achieved by swapping the empty tile with some other tile in all possible directions (up, down, left, and right).

The post JavaScript AI For An HTML Sliding Tiles Puzzle appeared first on Smashing Magazine.

How Molson Canadian regained its cult status

6 steps to reclaiming the brand pride inspired by 'The Rant'

Bethesda's Doom reboot drops May 13, complete with $120 Collector's Edition

Doom Release
Bethesda Softworks has finally announced the launch date for the next iteration of Doom. Eight years and multiple reboots later, the reboot will hit store shelves on May 13. Hopefully it'll be better than Doom 3.

EV Growth Not Fast Enough

Change is rapid in the digital age, sometimes at a dizzying pace. As that becomes normal, expectations grow for even faster change.
That is the case for electric vehicles (EVs), which have broken into mainstream markets over the last few years. Despite this rapid growth, a recent report by industry advocates argues that it is nowhere near fast enough.

What businesses need to know about Privacy Shield



U.S. businesses may take some comfort from the fact that a successor to the Safe Harbor agreement has finally been named, but at this point, they shouldn't get too comfortable.

Since it was first announced on Tuesday, the EU-U.S. Privacy Shield agreement governing trans-Atlantic data transfers has elicited considerable concern, not least because it remains largely unwritten and unclear. Privacy watchdogs in Europe have cautioned that it can't be relied upon for legal protection for several months; some say it won't be enough even then.

To read this article in full or to leave a comment, please click here

Wednesday, February 3, 2016

Nuclear fusion energy experiment turned on in Germany


Scientists in Germany have switched on a nuclear fusion experiment that they hope will provide a solution to finding clean and safe nuclear power.

By: Emily Reynolds,

Continue reading...

Trump wants do-over in Iowa

Throughout the early stages of this very strange presidential election, Donald Trump has made some outrageous comments that the professional pundit class -- and most sane people -- assumed would end his chances of winning. But with each outrageous comment, his poll numbers went up, not down.

Perhaps he was saying what a lot of people were thinking but were afraid to say. And he would not apologize and not be "bullied by those political correct forces in the mainstream media."