# Create an AI using tree search to DOMINATE 2048 [Python tutorial]

///Create an AI using tree search to DOMINATE 2048 [Python tutorial]

## Create an AI using tree search to DOMINATE 2048 [Python tutorial]

This is a follow-up video to our first tutorial on building 2048. We’ll be using Monte Carlo tree search to build an AI to win 2048. The process of building this AI is easier than winning yourself!

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. We made this YouTube channel and Kite to help you be more productive:

***************************************

SUBSCRIBE for more Python tips, tutorials, and coding interview prep! ►

How to Build 2048 in Python ►

***************************************

6 Python Tips and Tricks YOU Should Know ►

Push- Up Bot?! Make a Discord Bot in Python [step-by-step tutorial] ►

How to Build HANGMAN in 10 Minutes (Python tutorial) ►

***************************************
Don’t forget to subscribe 🙂

STAY TUNED:
Kite ►

source

By |2020-12-01T10:56:55+00:00December 1st, 2020|Python Video Tutorials|18 Comments

1. Kite December 1, 2020 at 10:56 am - Reply

2. FortNikitaBullion December 1, 2020 at 10:56 am - Reply

Your AI Sucks! Mine can get to 32,768 at least 30% of the time.

3. Suman Khanra December 1, 2020 at 10:56 am - Reply

As usual : useless explanation as the kite is !!

4. Alan Wang December 1, 2020 at 10:56 am - Reply

Did you implement your own version of 2048? Is so, does your implementation generate the 2's and 4's with probability 0.9 and 0.1 respectively, just like the original version of 2048? The game is much easier if it only spawns two's.

Hi, Kite. Great videos. I've just started watching them. I followed the 'How to build 2048 tutorial' but we never built anything called 'game_functions.py' and some of the functions weren't even in our main game file such as 'initialize_game'. Please could you let me know what was in it so I can start following this tutorial? Thanks.

kite is a freakin beast tool for coding. Absolutely awesome!

7. Ducko Draws December 1, 2020 at 10:56 am - Reply

came here from an anime

8. deebah December 1, 2020 at 10:56 am - Reply

how is this a tutorial? you didn’t give a link to the code, and i have no idea how this is supposed to work?

9. Jack Derksen December 1, 2020 at 10:56 am - Reply

What was in the 'game_functions.py' file?

10. 1 tapped December 1, 2020 at 10:56 am - Reply

11. Praxss December 1, 2020 at 10:56 am - Reply

Plz explain Monte Carlo simulation algorithm

12. WOW 2048 December 1, 2020 at 10:56 am - Reply

Wow! It’s amazing.

13. Aakash Jana December 1, 2020 at 10:56 am - Reply

Well I thought all A.I algorithms generate a model. Didn't find any here?
Can anyone tell me how this classifies to be A.I

14. Pula Sandeep December 1, 2020 at 10:56 am - Reply

Hello team kite.
It was amazing experience…
But i will love using kite the more if kite supports jupyter notebook in anaconda…
Pl update kite so that jupyter notebook will also support kite.

15. Kevin Dudson December 1, 2020 at 10:56 am - Reply

Binary search ain't AI. But apart from that great video. Btw does Kite work on Ubuntu Linux?

16. SOUMITRA MANDAL December 1, 2020 at 10:56 am - Reply

Your videos are really amazing. Looking forward to more such videos.

17. Rohit Patil December 1, 2020 at 10:56 am - Reply

This is what coders do, they can even spend 5 days making some crazy shit, to help them do something

18. Shrivarshan Kabilan December 1, 2020 at 10:56 am - Reply

Just started watching all ur videoes.