Posts

Tic-Tac-Toe - Can we create a impossible to win algorithm?

Image
Hope everyone had came across this classic game of Tic Tac Toe, Yes? If you are one of the rare species who says I have no idea.. Don't worry I also didn't have any idea that such a thing existed before I got to know about it from a friend. Just type Tic Tac Toe in Google and you can play it instantly in single player mode against an algorithm in different levels from Easy to Impossible...  Fun fact here is, the impossible isn't actually impossible as my friend was able to beat it in 1/7 th of the games.. That's when I thought, "Why not create an impossible version?" When I decided to create it, within few moments of looking at how my friend played, the logic behind it seemed evident. We just have to fill along a row, column or the diagonal with X, while at the same time opposing our opponents moves. The strategy of logic I came up with was just few functions -> check_risk(), next_win(), next_move(),win_move().. (The link for my version of Tic ...

BLUETOOTH (BLE) YET TO EXPLORE POTENTIAL FROM THE PAST

Before diving into the topic, here’s the disclaimer.. It isn’t an academic paper and nor am a researcher(at least by the writing of this article), So I don’t make ideas complex, and everything was explained in layman’s terms. So relax and enjoy reading. There would be literally no one on this planet who doesn’t know about Bluetooth, especially for 90’s kids it would be a nostalgic memory seeing the bluetooth logo every time. Because it’s the first ever wireless transfer protocol used since good old Nokia days. I still remember the days my dad and relatives were sharing a low quality mp3 file (around 1-2Mb) and feeling victorious like launching a rocket. It’s called the classic Bluetooth, which marks the start of the bluetooth era. Grab your seats, here comes a bit of the history part.. Our hero of the topic,Bluetooth LE came into existence around 2006 (integrated into BL 4.0) by the same old day innovator Nokia.. The difference here is, it has all the good stuff of classic Bluetooth bu...