create account

Artificial intelligence for Dummies: It's All In The Game (Part 4) by nikolanikola

View this thread on: hive.blogpeakd.comecency.com
· @nikolanikola · (edited)
$23.54
Artificial intelligence for Dummies: It's All In The Game (Part 4)
Can't read my
Can't read my
Noooo he can't reaaaad my 
pooooker face
She is gonna let nobody
P p p poker face, p p p poker face 
na na na na

Big love if you’ve read this with [Cartman’s voice <3](https://www.youtube.com/watch?v=Iw_W-5vdSCo)

*Heeey Nikola, where have you been so long? I’ve read this with Cartman’s voice!*

Then, big love for you bro<3

*What’s uuup? Do you remember when we talked [last time about AI](https://steemit.com/steemstem/@nikolanikola/artificial-intelligence-for-dummies-can-ai-steal-your-bike-part-3) and stealing the bike? Oh... I have... I have good news for you!*

Oh, what kind of the news?

*I gotta show you this... look at this, look... taaa daaaa.*

Bro, is this your bicycle? 

*Yes, it’s not stolen!!!*

I think that you don’t underst...

*And look, I’ve tied it with four cables hahah, say how powerful developer I am!*

You rock!

*What are we going to learn today and why are you singing this Lady Gaga’s song?*

Well... what do you think, could AI really read your poker face and beat you in the poker? Or maybe in chess, or checkers? 

Hmmm let’s find out.

![](https://i.imgur.com/GSo7vrz.jpg)
[Maxpixel.net](https://www.maxpixel.net/Artificial-Intelligence-Technology-Futuristic-3262753), Public domain CC0

[Last time](https://steemit.com/steemstem/@nikolanikola/artificial-intelligence-for-dummies-can-ai-steal-your-bike-part-3), we were talking about some uninformed search algorithms and I gave you small insight into how they work. Can we apply similar strategies to AI in order to learn it to play some games? And why would people spend time in a laboratory, trying to make some program which will play some board game? Aren’t we supposed to make AI which will do everyday stuff, talk with us, do some simple tasks, eventually conquer the world? 

Games were always attractive to people from AI field, because they represent certain polygon where we can see how smart is our AI. Maybe some of you are familiar with the [Game Theory](https://en.wikipedia.org/wiki/Game_theory) which says that a game is actually one process of making decisions and basically, we can look on everything in our life like on a game, because we are supposed to always find out the best possible decision in every situation. So when our AI starts managing itself in some board game successfully, we could apply that maybe on some problems in the real world. Also, it’s easier to evaluate performance of the AI in a game environment, because it can either win or lose – it was successful or it wasn’t.

First game that computer was able to play, was the game of **checkers**. The man who developed that program was [Arthur Samuel](https://en.wikipedia.org/wiki/Arthur_Samuel) from IBM and that program was learning how to play checkers simply by playing against itself thousands of times. For just a few days, program succeeded to beat Samuel in this game and later in 1962 it won against the man who was “a blind checkers master”. If we consider that making this program was in 1950s and that technology at that moment was on a very low level comparing with today’s ( this program used magnetic tape as a memory!) we can say that this was one really big step in a computer science.

Checkers are nice, but there is one game that challenges and occupies people since its beginning – that’s right, **chess**. This game is interesting because it has so many tactics and possible moves that it represented the real challenge in the area of AI. You’ve probably heard about IBM’s famous computer called [Deep Blue](https://en.wikipedia.org/wiki/Deep_Blue_(chess_computer)) which won against Kasparov?  Do you know how it did it? 

![](https://i.imgur.com/RJTVwln.png)
[Maxpixel.net](https://www.maxpixel.net/Board-Game-Chess-Conflict-Resignation-Checkmate-1511866), Public domain CC0

The truth is that it wasn’t quite fair battle, because Deep Blue wasn’t able to actually think like a man, it just had brutal force that was calculating every possible move in the game. That’s not quite intelligent behavior, but it did the job. In 1996, Deep Blue was able to calculate 50-100 million moves per second! With such power, It stepped on the battle field against Garry Kasparov and – lost.

Yes, such a powerful machine couldn’t beat such great chess player as Garry Kasparov.  IBM then stepped up, improved the computer, simply by doubling the number of chips and improving a little bit software, so then it could calculate over 300 million of chess moves per second! The rematch was appointed and in 1997 it finally succeeded to won against Kasparov. Interesting thing is that, even then, it was tight – computer won in the deciding game when Kasparov made a mistake during the opening.  Kasparov said that he felt something like “human intelligence” in some moves and demanded to see printouts of the machine’s log files but IBM refused. Later they published those files on the Internet. Kasparov also demanded a rematch, but IBM also refused. The results – Deep Blue will be remembered in the history and IBM’s stocks nicely jumped on the market at that moment.  

Last year, one interesting thing happened – Google’s AI called *AlphaGo* won against world’s best **Go** player. What is Go and why is this significant?

Go is an ancient Chinese board game and it’s interesting because unlike the chess which is playing on the 8x8 table, Go has 19x19 table! Do you remember my story from the last time about trees, nodes and branches? Go, with such big table and its rules, has enormous branching factor – **it has more possible states than there is atoms in the universe!** That’s what I call a real challenge.  Can we make such powerful computer that can calculate every possible move in this game? Ummmm... no. So how Google succeeded? Are they aliens? Illuminati?

Maybe they are, I don’t know (probably yes), but I know on which principle their AI works. They used one thing about which I was writing two weeks ago – [neural networks.](https://steemit.com/steemstem/@nikolanikola/would-you-love-to-see-how-i-trained-my-small-tiny-powerful-neural-network)

AlphaGo  has 48 layers of neurons that search patterns on the table during the game and try to conclude what could be the best move. 

Now when Go is conquered, we can say that AI can certainly beat man in every board game. 

*Oh this is so exciting, I’ll make my own AI that can play games! Yeah... I will... I will go in Vegas and become like Robert De Niro in Casino! Or... or like Joe Pesci hahah he’s so funny man...*

[Funny how?](https://www.youtube.com/watch?v=0d2LAs-WL_4)

*Or I can be like Godfather! Yeahhh, that’s the real talk... how can I do that, Nikola please tell me, pleaaaase?*

I’m gonna make you an algorithm you can’t refuse.
<br>
### What exactly AI does while it’s playing a game? ###
<br>
First, we have to define a game as a searching process which is actually competitive. We have two agents who want to lower chances of each other for win. If one agent wins, then other agent must lose.

Now, on your way to become *Robert De Niro*, you have to get familiar with one term which is called - **heuristic**.

[Heuristic](https://en.wikipedia.org/wiki/Heuristic) is one very important thing and it is actually a function which works as an additional information that you use in your search strategy to have better results. For example, cost function from [the last time](https://steemit.com/steemstem/@nikolanikola/artificial-intelligence-for-dummies-can-ai-steal-your-bike-part-3) when you had to travel from Belgrade to Kruševac could work as a heuristic or if you are trying to solve Rubik’s cube, heuristic can be the number of squares that aren’t on the right place for each color and so on.

It helps you as a parameter which you follow during the search to know how successful you are and what decision you should do next.  It’s really, really crucial to choose the best and the most representative heuristic for your problem. How can you know what is the best? Well, that’s the catch – no one will tell you that, it’s something that you have to conclude on your own.

There are few ways to generate good heuristic – first, you can simplify your problem or to break it on more sub-problems and try your assumption experimentally. If it works – good, you can try your heuristic now on the real problem. Second way is learning from experience – you can solve many, many problems that are similar to yours and then you will intuitively know what to choose for your heuristic. At the end, it’s possible to combine more heuristics into one in order to get better results.

Using that logic about heuristics, we can use something called **value function**. For example, in chess, we can say that pawn has value 1, knight and bishop 3, rook 5 and so on. Also we can make value of the positions of the figures and then we can simply make sum of all of those values and then we have the information how valuable is one state in the chess. Based on that, an algorithm could choose between possible states in order to know what to play next!

*But Nikola, how does that algorithm work?*
<br>
### Minimax algorithm ###
<br>
Imagine that we have two agents which are playing against each other and one of them is called MIN and other one is MAX.

*Lol, hello my name is MIN hahah it’s so stupid name...*

No it’s not. Take a look at this tree on the picture below:

<center>![](https://i.imgur.com/F6oC8Kh.jpg)
Self-made picture</center>


MAX is called MAX because it tries to find the state with the highest value and analog to that MIN tries to find the state with the lowest value. Take a look at these nodes – let’s say that the nodes which are represented with triangle turned up are the states where MAX chooses its next move and the nodes which are turned down are states where MIN chooses its next move.

According to that, MAX will choose to go from A to B (because 3>2) and then MIN will choose to go to E, because it’s the best possible answer at that moment.

And that’s how this algorithm works.

**How did it calculate the values of the nodes?**

If you look more carefully, you can see that algorithm first developed whole tree and went to the deepest nodes and there calculated the value of those states. Then, depending on which agent should go there (MIN or MAX) it picked appropriate values and copied it in the parent node. You can see that it’s supposed for MIN to go to E, F or G, so it chose minimal value which is 3 and assigned that to node B. Same logic is used for C, D and for A. 

Interesting thing is that this algorithm needs to develop whole tree in order to go to the deepest nodes and calculate values, so the time needs for this algorithm are exponential O(b^m) and you are maybe  remembering what I said in my previous part about exponential needs – it’s s c a r y.

So, can we improve somehow this algorithm?

The answer is yes – we can use its improved version called Alpha-beta pruning.
<br>
### Alpha – Beta pruning ###
<br>
The trick is that we can conclude in which nodes MIN or MAX can’t go and simply to prune that part of the tree. We are pruning the parts which just can’t affect our future decision. Look at the example below:

<center>![](https://i.imgur.com/XW0KD7C.jpg)
Self-made picture</center>

Let’s say that MAX is in the A and it choses where to go, to B or C. First it developed B and as we can see, by the logic which I described above, it will assign value 3 to the node B. Now, when it starts exploring C, it first sees that H has value 2, so pay your attention right now – two is the biggest value that can be assigned to C (remember, we are taking minimal value from deepest nodes here) so we don’t need to explore further successors of the C node because we saw already that B has already value 3, so MAX will never go to C and we can prune now its successors and save our memory and time.

I hope that I was clear.

And that’s how the Alpha-Beta pruning works.

I gave you a small insight in how those algorithms work in the world of board games and, of course, there are much more strategies and modifications. Right now, AI succeeded to accomplish pretty much everything in this area, so it’s interesting to see what could happen next, in the future. What a time to be alive, literally.

Gambling is the next industry that could be heavily affected by the AI development and right now there are bots that could probably beat you in poker and take your money, house, car...wife. 

Just joking, she will probably go by herself.

For the end I will just quote Omar Little, from [the best tv show ever made](https://www.youtube.com/watch?v=cryMVK1PwuQ):

>It’s all in the game, yo! All in the game...

I hope that you enjoyed,
Many thanks to my tireless mentor @scienceangel who's always here to help me with my ideas.

---
Sources:

Artificial Intelligence: A Modern Approach, *Peter Norvig and Stuart Russell*
Artificial Intelligence: The Very Idea, *John Haugeland*
[Sci-Show](https://www.youtube.com/watch?v=Xhec39dVGDE)
[Kasparov vs. Deep Blue](https://en.wikipedia.org/wiki/Deep_Blue_(chess_computer))
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 588 others
properties (23)
authornikolanikola
permlinkartificial-intelligence-for-dummies-it-s-all-in-the-game-part-4
categorysteemstem
json_metadata{"tags":["steemstem","science","technology","ai","teamserbia"],"users":["scienceangel"],"image":["https://i.imgur.com/GSo7vrz.jpg","https://i.imgur.com/RJTVwln.png","https://i.imgur.com/F6oC8Kh.jpg","https://i.imgur.com/XW0KD7C.jpg"],"links":["https://www.youtube.com/watch?v=Iw_W-5vdSCo","https://steemit.com/steemstem/@nikolanikola/artificial-intelligence-for-dummies-can-ai-steal-your-bike-part-3","https://www.maxpixel.net/Artificial-Intelligence-Technology-Futuristic-3262753","https://en.wikipedia.org/wiki/Game_theory","https://en.wikipedia.org/wiki/Arthur_Samuel","https://en.wikipedia.org/wiki/Deep_Blue_(chess_computer)","https://www.maxpixel.net/Board-Game-Chess-Conflict-Resignation-Checkmate-1511866","https://steemit.com/steemstem/@nikolanikola/would-you-love-to-see-how-i-trained-my-small-tiny-powerful-neural-network","https://www.youtube.com/watch?v=0d2LAs-WL_4","https://en.wikipedia.org/wiki/Heuristic","https://www.youtube.com/watch?v=cryMVK1PwuQ","https://www.youtube.com/watch?v=Xhec39dVGDE"],"app":"steemit/0.1","format":"markdown"}
created2018-09-19 12:39:45
last_update2018-09-19 17:27:45
depth0
children24
last_payout2018-09-26 12:39:45
cashout_time1969-12-31 23:59:59
total_payout_value18.234 HBD
curator_payout_value5.308 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length13,075
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,672,205
net_rshares18,107,673,100,399
author_curate_reward""
vote details (652)
@abigail-dantes ·
Hello @nikolanikola :)

I was looking forward to what you were going to bring us next in your series :) I was interested in this one because my husband loves playing chess against the computer. I particularly liked the section *What exactly AI does while it’s playing a game?*, especially when you discuss heuristics. It is all so relatable to my field :)

Well, you did say at the beginning that we could look at our situations in life as if they are a game. After all, we should all be working on decisions that yield the best outcome for us.

All the best to you my dear :*
👍  ,
properties (23)
authorabigail-dantes
permlinkre-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t153647499z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["nikolanikola"],"app":"steemit/0.1"}
created2018-09-19 15:36:51
last_update2018-09-19 15:36:51
depth1
children4
last_payout2018-09-26 15:36:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length576
author_reputation49,474,285,992,578
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,686,249
net_rshares3,936,928,948
author_curate_reward""
vote details (2)
@nikolanikola ·
$0.04
Hi dear Abi :)

It's flattering to know that someone is somewhere waiting for my next post in this series :)

Yes, heuristics could be found in other sciences, not just in computer related. As a matter of facts, psychology is pretty important when it comes to creating of some higher level of AI, because at the end we're trying to "bring life" to something and to live with it in this world :)

Of course we should bring our best, but sometimes the best outcome for us means the worse outcome for someone other. Then we should make a small compromise.

Thank you for stopping by, hope you are well :)

Here's one Wednesday kiss for you 😜 😘
👍  ,
properties (23)
authornikolanikola
permlinkre-abigail-dantes-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t175704524z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-19 17:57:06
last_update2018-09-19 17:57:06
depth2
children3
last_payout2018-09-26 17:57:06
cashout_time1969-12-31 23:59:59
total_payout_value0.028 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length640
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,695,914
net_rshares28,072,486,276
author_curate_reward""
vote details (2)
@abigail-dantes ·
Oh! 😍 Wednesday kisses are awesome! And, because I’m not greedy like someone I know ( just saying 😌), I am very happy with one! 😃😛
properties (22)
authorabigail-dantes
permlinkre-nikolanikola-re-abigail-dantes-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t064730152z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-20 06:47:30
last_update2018-09-20 06:47:30
depth3
children2
last_payout2018-09-27 06:47:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length130
author_reputation49,474,285,992,578
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,740,754
net_rshares0
@alexander.alexis ·
I think you must tell us 1) how you programmed those images to be self-made and 2) are they conscious? :D
👍  
properties (23)
authoralexander.alexis
permlinkre-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180927t153300359z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-27 15:33:00
last_update2018-09-27 15:33:00
depth1
children1
last_payout2018-10-04 15:33:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length105
author_reputation21,140,508,991,402
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,266,183
net_rshares4,388,561,637
author_curate_reward""
vote details (1)
@nikolanikola ·
$0.02
Lmaooo

Maybe I'll write about that in my next post, stay tuned :P
👍  
properties (23)
authornikolanikola
permlinkre-alexanderalexis-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180930t133605109z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-30 13:36:09
last_update2018-09-30 13:36:09
depth2
children0
last_payout2018-10-07 13:36:09
cashout_time1969-12-31 23:59:59
total_payout_value0.015 HBD
curator_payout_value0.004 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length66
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id72,355,635
net_rshares10,037,160,691
author_curate_reward""
vote details (1)
@anevolvedmonkey · (edited)
Great post! What amazes me most is that a human defeated a computer that could calculate 100 million moves per second. That's impressive!
properties (22)
authoranevolvedmonkey
permlinkre-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t074006581z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-20 07:40:06
last_update2018-09-20 07:41:12
depth1
children1
last_payout2018-09-27 07:40:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length137
author_reputation1,633,235,734,662
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,743,927
net_rshares0
@nikolanikola ·
Thanks @anevolvedmonkey :)

Yes, but it wasn't some regular human, it was The Human :D
properties (22)
authornikolanikola
permlinkre-anevolvedmonkey-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t123644952z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["anevolvedmonkey"],"app":"steemit/0.1"}
created2018-09-20 12:36:45
last_update2018-09-20 12:36:45
depth2
children0
last_payout2018-09-27 12:36:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length86
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,762,442
net_rshares0
@co-in ·
$0.28
CI_comment
https://steemitimages.com/0x0/https://cdn.steemitimages.com/DQmXyxK6rjhmrtTvkjopLcA9E36mR3xg9jDJamE93vNYff4/image.png<br><br> This post has been upvoted by the user-run curation platform CI! In this platform users are able to manually curate content. This is done regardless of Steem Power, for both rewards and vote size calculation.<br><br> Join in at our site here!<br> https://collectiveintelligence.red/<br><br> Or join us on discord to interact with the community!<br> https://discord.gg/sx6dYxt<br><hr><br> This post was submitted for curation by: @anevolvedmonkey<br> This post was given a rating of: 0.9932218507679217<br> This post was voted: 100%
👍  
properties (23)
authorco-in
permlinkre-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180921t073504
categorysteemstem
json_metadata""
created2018-09-21 07:35:06
last_update2018-09-21 07:35:06
depth1
children0
last_payout2018-09-28 07:35:06
cashout_time1969-12-31 23:59:59
total_payout_value0.207 HBD
curator_payout_value0.069 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length657
author_reputation2,721,952,666,231
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,834,473
net_rshares206,654,693,255
author_curate_reward""
vote details (1)
@digitalpnut ·
Just gonna resteem this so that I can have it on my feed as reference for another time! Insightful article!
👍  
properties (23)
authordigitalpnut
permlinkre-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t090036392z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-20 09:00:36
last_update2018-09-20 09:00:36
depth1
children1
last_payout2018-09-27 09:00:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length107
author_reputation807,662,279,344
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,748,546
net_rshares3,877,875,013
author_curate_reward""
vote details (1)
@nikolanikola ·
Thank you @digitalpnut :)
properties (22)
authornikolanikola
permlinkre-digitalpnut-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t123805902z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["digitalpnut"],"app":"steemit/0.1"}
created2018-09-20 12:38:06
last_update2018-09-20 12:38:06
depth2
children0
last_payout2018-09-27 12:38:06
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length25
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,762,555
net_rshares0
@eniolw · (edited)
This is great! On chess and artificial intelligence, the Kasparov vs Deep Blue match was epic, but projects like AlphaZero and Leela are even more impressive. The Monte Carlo algorithm seems to be better than MinMax in this field.
👍  
properties (23)
authoreniolw
permlinkre-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t171630279z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-19 17:16:30
last_update2018-09-19 17:18:00
depth1
children2
last_payout2018-09-26 17:16:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length230
author_reputation255,165,276,927,525
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,693,246
net_rshares3,917,244,303
author_curate_reward""
vote details (1)
@nikolanikola ·
Hi @eniolw, thanks :))

The Monte Carlo can be extremely useful in cases when we don't have fully observable environment like when we play cards or when we have some stochastic process like throwing dice :)

Minimax was just an example how this logic works, I personally don't know is it still used somewhere today:)
properties (22)
authornikolanikola
permlinkre-eniolw-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t194109523z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["eniolw"],"app":"steemit/0.1"}
created2018-09-19 19:41:12
last_update2018-09-19 19:41:12
depth2
children1
last_payout2018-09-26 19:41:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length316
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,702,119
net_rshares0
@eniolw ·
It is! conventional chess engines use extensively MinMax as search algorithm, but in December of last year, Google proved with AlphaZero that Monte Carlo and reinforcement learning can achieve better results. That is why Leela Chess was born and currently she has caught top chess engines in playing strength.
👍  
properties (23)
authoreniolw
permlinkre-nikolanikola-re-eniolw-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t013750525z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-20 01:37:51
last_update2018-09-20 01:37:51
depth3
children0
last_payout2018-09-27 01:37:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length309
author_reputation255,165,276,927,525
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,722,453
net_rshares3,936,928,948
author_curate_reward""
vote details (1)
@jasonbu ·
Nicely put together post and a good top-level summary on alpha-beta pruning.

Got a good chuckle from the 
> I’m gonna make you an algorithm you can’t refuse

I might use that in the future -with attributions of course ;-)


Posted using [Partiko Android](https://steemit.com/@partiko-android)
👍  
properties (23)
authorjasonbu
permlinkjasonbu-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t120203374z
categorysteemstem
json_metadata{"app":"partiko"}
created2018-09-20 12:02:03
last_update2018-09-20 12:02:03
depth1
children2
last_payout2018-09-27 12:02:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length293
author_reputation26,685,474,279,235
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,759,905
net_rshares3,799,136,434
author_curate_reward""
vote details (1)
@nikolanikola ·
$0.03
hmm maybe I should put some copyright license to that?🤔🤔

Thanks @jasonbu!:))
👍  ,
properties (23)
authornikolanikola
permlinkre-jasonbu-jasonbu-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t124141188z
categorysteemstem
json_metadata{"tags":["steemstem"],"users":["jasonbu"],"app":"steemit/0.1"}
created2018-09-20 12:41:42
last_update2018-09-20 12:41:42
depth2
children1
last_payout2018-09-27 12:41:42
cashout_time1969-12-31 23:59:59
total_payout_value0.026 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length77
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,762,859
net_rshares25,976,302,322
author_curate_reward""
vote details (2)
@jasonbu ·
LOL - had to open my mouth :-)
properties (22)
authorjasonbu
permlinkre-nikolanikola-re-jasonbu-jasonbu-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t161217632z
categorysteemstem
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["steemstem"],"users":[],"links":[],"image":[]}
created2018-09-20 16:12:18
last_update2018-09-20 16:12:18
depth3
children0
last_payout2018-09-27 16:12:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation26,685,474,279,235
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,780,060
net_rshares0
@jrswab ·
<center>🚀 This is a stellar post! 🚀

I will be featuring it in my weekly #technology and #science curation post for the @minnowsupport project and the [Tech Bloggers' Guild](https://discord.gg/ZTDzbvf)!  The Tech Bloggers' Guild is a new group of Steem bloggers and content creators looking to improve the overall quality of our niche.

Wish not to be featured in the curation post this Friday? Please let me know. In the meantime, keep up the hard work, and I hope to see you at the Tech Bloggers' Guild!

---
If you have a free witness vote and like what I am doing for the Steem blockchain it would be an honor to have your vote for my witness server. Either [click this SteemConnect link](https://steemconnect.com/sign/account-witness-vote?witness=jrswab&approve=1) or head over to [steemit.com/~witnesses](https://steemit.com/~witnesses) and enter my username it the box at the bottom.</center>
properties (22)
authorjrswab
permlinkre-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t163956124z
categorysteemstem
json_metadata{"tags":["steemstem","technology","science"],"users":["minnowsupport"],"links":["https://discord.gg/ZTDzbvf","https://steemconnect.com/sign/account-witness-vote?witness=jrswab&approve=1","https://steemit.com/~witnesses"],"app":"steemit/0.1"}
created2018-09-19 16:39:57
last_update2018-09-19 16:39:57
depth1
children1
last_payout2018-09-26 16:39:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length899
author_reputation46,062,246,679,771
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,690,703
net_rshares0
@nikolanikola ·
thank you :)
properties (22)
authornikolanikola
permlinkre-jrswab-re-nikolanikola-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t193016387z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-19 19:30:18
last_update2018-09-19 19:30:18
depth2
children0
last_payout2018-09-26 19:30:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length12
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,701,455
net_rshares0
@steemitboard ·
Congratulations @nikolanikola! You have completed the following achievement on the Steem blockchain and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/commented.png)](http://steemitboard.com/@nikolanikola) Award for the number of comments received

<sub>_Click on the badge to view your Board of Honor._</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



> Support [SteemitBoard's project](https://steemit.com/@steemitboard)! **[Vote for its witness](https://v2.steemconnect.com/sign/account-witness-vote?witness=steemitboard&approve=1)** and **get one more award**!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-nikolanikola-20180921t011116000z
categorysteemstem
json_metadata{"image":["https://steemitboard.com/img/notify.png"]}
created2018-09-21 01:11:15
last_update2018-09-21 01:11:15
depth1
children0
last_payout2018-09-28 01:11:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length696
author_reputation38,975,615,169,260
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,812,587
net_rshares0
@steemstem ·
post_voted_by
<center> https://cdn.discordapp.com/attachments/354723995037466624/463380522928963599/steemSTEM.png</center> <br><br> This post has been voted on by the steemstem curation team and voting trail.  <br> <br>There is more to SteemSTEM than just writing posts, check <a href="https://steemit.com/steemstem/@steemstem/being-a-member-of-the-steemstem-community">here</a> for some more tips on being a community member. You can also join our discord <a href="https://discord.gg/BPARaqn">here</a> to get to know the rest of the community!
properties (22)
authorsteemstem
permlinkre-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t082849
categorysteemstem
json_metadata""
created2018-09-20 08:28:51
last_update2018-09-20 08:28:51
depth1
children1
last_payout2018-09-27 08:28:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length530
author_reputation262,017,435,115,313
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,746,733
net_rshares0
@nikolanikola ·
<3
properties (22)
authornikolanikola
permlinkre-steemstem-re-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180920t082849-20180920t123722454z
categorysteemstem
json_metadata{"tags":["steemstem"],"app":"steemit/0.1"}
created2018-09-20 12:37:24
last_update2018-09-20 12:37:24
depth2
children0
last_payout2018-09-27 12:37:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2
author_reputation50,408,814,127,998
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,762,499
net_rshares0
@trufflepig ·
**Congratulations!** Your post has been selected as a daily Steemit truffle! It is listed on **rank 11** of all contributions awarded today. You can find the [TOP DAILY TRUFFLE PICKS HERE.](https://steemit.com/@trufflepig/daily-truffle-picks-2018-09-19) 
    
I upvoted your contribution because to my mind your post is at least **11 SBD** worth and should receive **255 votes**. It's now up to the lovely Steemit community to make this come true.

I am `TrufflePig`, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, [you can find an explanation here!](https://steemit.com/steemit/@trufflepig/weekly-truffle-updates-2018-37)
    
Have a nice day and sincerely yours,
![trufflepig](https://raw.githubusercontent.com/SmokinCaterpillar/TrufflePig/master/img/trufflepig17_small.png)
*`TrufflePig`*
    
properties (22)
authortrufflepig
permlinkre-artificial-intelligence-for-dummies-it-s-all-in-the-game-part-4-20180919t153619
categorysteemstem
json_metadata""
created2018-09-19 15:36:21
last_update2018-09-19 15:36:21
depth1
children0
last_payout2018-09-26 15:36:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length885
author_reputation21,266,577,867,113
root_title"Artificial intelligence for Dummies: It's All In The Game (Part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id71,686,217
net_rshares0