Tommy looks five moves into the future.. he sees his failures coming and has no choice but to helplessly walk towards them
@infrences4 жыл бұрын
Idk why this comment doesn’t have likes
@Hoghiderrr3 жыл бұрын
He must follow fate
@derek-1823 жыл бұрын
@@Hoghiderrr It is.... inevitable
@dylans2ndchannel9813 жыл бұрын
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ
@nolanfaught69743 жыл бұрын
It seems like the algorithm wasn't able to account for where tiles will appear or their value, so looking 5 moves into the future isn't much better than just looking one move into the future
@xexpaguette4 жыл бұрын
When I was a kid I didn't even know there was a strategy and thought it was a clicker game where you just swipe as fast as you can randomly.
@jasonhoward26133 жыл бұрын
There’s a strategy?
@xexpaguette3 жыл бұрын
@@jasonhoward2613 yes
@Sereal57063 жыл бұрын
@@jasonhoward2613 there are many actually
@jasonhoward26133 жыл бұрын
@@Sereal5706 wtf is the strategy everything is random chance except the math which is partly random to
@mattsadventureswithart57643 жыл бұрын
I found always going clockwise (or anti) worked. Up, right, down, left (repeat)
@nintendocaprimoon634 жыл бұрын
New favorite insult: "You're about as good as randomly pressing the left key"
@EurasianInvasion4 жыл бұрын
Oh, damn you right
@746yashkashwani34 жыл бұрын
Right bro
@NoOne-wz2ht4 жыл бұрын
Repetitively*
@ZielAmerak4 жыл бұрын
if you are lucky you'll get 2048 with just left and down over and over.
@NoOne-wz2ht4 жыл бұрын
@@ZielAmerak I start by randomly mashing buttons
@Sgtcrazyeyes2354 жыл бұрын
Hearing you switch between calling the ai tommy and tomas when you’re frustrated is like a parent being upset at their child
@laser.strike Жыл бұрын
Yes
@ihasarax4 жыл бұрын
Do i understand: no Am i entertained: yes
@oxygen_is_my_drug48114 жыл бұрын
Did i ask:no
@Paulito-ym4qc4 жыл бұрын
@@oxygen_is_my_drug4811 Shut up:yes
@critrawkets4 жыл бұрын
@Bergo 3L.Normie It's your opinion : yes.
@critrawkets4 жыл бұрын
@Bergo 3L.Normie this is not a roast: yes.
@ihasarax4 жыл бұрын
bro why did this chat get toxic for no reason
@LazyLetifer5 жыл бұрын
“Every one has the right to an opinion but not everyone’s opinion is right” Best quote of the decade
@melonx53805 жыл бұрын
I agree with you
@thel0n3lytramp635 жыл бұрын
That quote is an opinion, and it is wrong
@greasychickenugget44105 жыл бұрын
It's so true. Just like how my friend thinks dragon ball is the best anime. His opinion is wrong
@khalil70115 жыл бұрын
Opinions cannot be right or wrong, if there is evidence behind the opinion then it is called a substantiated assumption and can be correct or incorrect
@thel0n3lytramp635 жыл бұрын
@@khalil7011 That opinion is also wrong IMO
@ryanantoine84574 жыл бұрын
"it keeps lower scoring tiles away from the highest score tiles" So the AI enforces aristocracy.
@yourtherapist13704 жыл бұрын
O H G O D
@yourtherapist13704 жыл бұрын
Spitty 22 bruh
@yourtherapist13704 жыл бұрын
Spitty 22 B R U H
@khucnguyenangkhoa20254 жыл бұрын
Spitty 22 B R U H
@spitty22174 жыл бұрын
B R U H
@АлексейГерасимов-т7ш4 жыл бұрын
Code bullet is so brutal that he doesn't creates algorithm for game, He creates game for algorithm
@thebiggestthickestbean52323 жыл бұрын
I’ve never thought about it like that but yea you’re right, that’s pretty funny lol
@LordMaliscence3 жыл бұрын
@@Mightic exactly, with most simple games like this, it's much better to just code it yourself instead of trying to interface with an existing game
@puppergump41172 жыл бұрын
@@Mightic Yeah I think he started creating the games after the Piano Tiles incident.
@oldwateristic2 жыл бұрын
its funny
@photonbee19322 жыл бұрын
@@puppergump4117 this video was created BEFORE that… incident…
@songbirdlover6 жыл бұрын
Wow. I was just impressed with you recreating the game..
@riseeuterpe28386 жыл бұрын
I'm pretty sure the original creator allowed for its free distribution so idk if he rly had to do that tbh XD
@stargazingsprout5 жыл бұрын
Harasuke Amu I’m pretty sure he needs to remake the game so the AI can see the code and actually play the game
@natenobles43725 жыл бұрын
The guy who made 2048 did it for fun in a week so it’s no surprise that it was kind of easy to recreate
@songbirdlover5 жыл бұрын
@@natenobles4372 wow.
@Deathmastertx5 жыл бұрын
Recreating the game in Java was the final project of my first computer science unit at university.
@gristlyscarab79385 жыл бұрын
Plot twist: It was his friend actually named Thomas playing all along
@fredthespear49234 жыл бұрын
Gristly Scarab plot twist: Thomas was an ai
@Beanpolr4 жыл бұрын
@@fredthespear4923 plot twist: Thomas was an ai made by his friend Thomas
@thomasnolastname87344 жыл бұрын
*sips water*
@badutubezboi50504 жыл бұрын
mega oof plot twist: Thomas made Thomas who was an AI who made Thomas who was an AI
@yellostarr4 жыл бұрын
@ReTri 64 Ahh yes, a man of culture I see
@creeperx3sssboom3475 жыл бұрын
Tomas: "I've looked 5 Moves in the future" Code Bullet: "In what one do we get to 2048?" Tomas: "One"
@wallacebell97195 жыл бұрын
CreeperX3 sssBOOM I was about to comment the same thjng
@derkach79075 жыл бұрын
Thomas:" Yes."
@gabeprice19795 жыл бұрын
fuck you infinity war refrencer
@apacheattackhelicopter58235 жыл бұрын
That grammar ;-;
@Bubbled-0-0-5 жыл бұрын
I like that comment it’s funny
@chizzicle4 жыл бұрын
I like how even when "Thomas" finally succeeds, it's still less efficient than any even slightly smart human player, making Tommy sort of pointless, but he always was a problem child and it's the journey that matters, not the destination
@axelandersson63146 жыл бұрын
3:40. Well, that’s literally the strategy I’ve gone with for the past 2 years...
@enriquejunchaya57846 жыл бұрын
Axel Andersson same, but it doesn't always get you a 2048. There's the "luck" factor and that's why Thomas couldn't get it either.
@wthrwyz6 жыл бұрын
This pretty much *is* the strategy for 2048; pick a corner and work toward it. It doesn't always work because the random placement of new tiles will occasionally put you in a state where it becomes impossible to win despite perfect play (as illustrated by the video), but that's the nature of any game that features a random element. Put simply, luck beats skill any day of the week. Whatever you do, never move your largest value tile out of that corner - the RNG *will* screw you by immediately spawning a 2 there.
@wwoods666 жыл бұрын
@Nathan Williams -- "never move your largest value tile out of that corner" But sometimes that's the only move, alas.
@wthrwyz6 жыл бұрын
Indeed, and the RNG gremlins are already chuckling.
@edde24296 жыл бұрын
Wouldn't a good way to make the AI develop better be to let each one do like 10 runs and see which one was the most consistant
@theeliteeaglegamer58936 жыл бұрын
Ai learns to code Ai
@dandanthedandan75586 жыл бұрын
TheEliteEagleGamer Wow, wow, wow. Calm down. Are you trying to give birth to SkyNet?
@MyH3ntaiGirl6 жыл бұрын
TheEliteEagleGamer DESTROY HUMANITY
@Bestname_Ever6 жыл бұрын
TheEliteEagleGamer so its.... AInception?
@ras8626 жыл бұрын
*i love this idea*
@Youmu_Konpaku_6 жыл бұрын
We need that
@kympx84603 жыл бұрын
Being named Thomas, I felt quite called out through this
@watchdogofarron66623 жыл бұрын
Same :( sorry for being a disappointment CB but please keep other Tommy’s out of it
@thomasshipstead73313 жыл бұрын
Felt that lol
@O_CABBAGE3 жыл бұрын
"Thomas kinda sucks" I hear enough of this normally, I don't need it to happen here too
@Sod1ePop5 жыл бұрын
"failure is important for learning" so that's why my dad says I'm important
@josef29705 жыл бұрын
me IRL
@ashleybro69335 жыл бұрын
daaang
@neechama83135 жыл бұрын
r/suicidebywords
@Notathreelettername4 жыл бұрын
Savage
@hunterofdarkness83294 жыл бұрын
Greatest mistake(iam sorry)
@LarryJL5 жыл бұрын
You should've told it that in addition to having the highest possible number in the top left corner is good, it should also prefer having as much free slots as possible and get rid of small tiles as much as possible
@fakename77254 жыл бұрын
I would have thought that would be the one and only scoring method for future outcomes
@varmituofm4 жыл бұрын
He also had that the 2nd highest scoring tile should be next to the highest scoring tile. This should continue on down, the 3rd should be next to the second, the 4th next to the third.
@Le_g3nd4 жыл бұрын
The highest theoretical number is 131k but the biggest number achieved is 65k (I know person who’s done it but don’t know if anyone else has)
@garethbaus54714 жыл бұрын
@@Le_g3nd I struggle getting past 4092 and I have spent way too much time playing 2048.
@frederickfritzsche974 жыл бұрын
Yeah, I think the entire problem boils down to develop a better way to evaluate the "game state". Looking 5 steps into the future should be absolutely enough to win this game, probably even 3. But it's sort of useless if your definition of whether the game state is good or not is so bad. eg aligned values (along a sort of S-shape) are much better than a 15 / 6 / 13 / 1 / 7 etc. Would be a rather complex algorithm for a simple game but hey
@arpitranasaria48785 жыл бұрын
That moment at 9:08 where Tommy could have just gone up left left and reached 2048
@jdao1sm5 жыл бұрын
Arpit Ranasaria YEAH
@saeber66305 жыл бұрын
*GODDAMIT TOM*
@nightowl19god255 жыл бұрын
Arpit Ranasaria right up left left
@mehregankbi5 жыл бұрын
That’s where u see the value of human labeling. Simulating a human learning prespective is so hard that its better if a pro player of 2048 plays the game 500 times and we give the data to our neural network. Then AI can have a very good sense of what playing this game looks like. At this point AI knows how to play the game but there’s also room for improvement. so just like code bullet did, now we can use “choosing the best out of 5 moves” just like he did and it is gonna get better and better. The more complex the problem (self driving car) the more useful the human teaching
@Doctor_Straing_Strange5 жыл бұрын
OMG
@ricegorm4 жыл бұрын
As somebody who is named Thomas, this ai is basically a perfect recreation of anybody named Thomas. They fail at everything for a while, then somehow get it out of sheer luck.
@denisucuuu3 жыл бұрын
Definitely not Thomas Wayne, since he succeeded for a while until running out of luck in an alleyway
@divakarmenon5381 Жыл бұрын
@@denisucuuu that's Bruce Wayne?
@visiblerat Жыл бұрын
i am also named thomas and can confirm
@nirorit8 ай бұрын
@@divakarmenon5381no
@BrianJones014 жыл бұрын
When I went down the rabbit hole with this game, my strategy revolved around one simple restiction: choose a direction (in my case, up) and never move in that direction. A consequence of this is that the largest tiles end up on one face, similar to your "top left for highest value block" strategy. I wonder how the AI would do with this restriction in direction. Edit: 2048 became an easy target, if I recall correctly, 8192 was the max I reached before throwing the game in my "NEVER TOUCH AGAIN" category.
@xocheee4 жыл бұрын
i could neverrrrr reach 8196 how long did that take???
@xocheee4 жыл бұрын
@Natsu Dragneel lol do you mean score or tile? because i doubt youre dating the world record holder lmaoooo
@xocheee4 жыл бұрын
@Natsu Dragneel probably on the app where undos are possible too...
@BrianJones014 жыл бұрын
@Natsu Dragneel I don't know that it can be considered "low" against any reasonable standard, even if it's not a record. To put it into perspective, a 6x6 board offers 2.25 times as much play area as a 4x4 board, and with that extra area comes many options for storing large tiles while building smaller tiles needed for further advancement (at a point, the hardest problem becomes efficient use of space). But still, congratulations to your girlfriend, impressive work!
@NoOne-wz2ht4 жыл бұрын
My strategy is spam random buttons at the start then press random buttons
@JStubblefield793915 жыл бұрын
Code Bullet: “Alright, I think I’ll go to bed.” Thomas: “You’ll go to bed when we’ve reached 2048.”
@Alex-dz8dm6 жыл бұрын
AI learns to take over the world -Code Bullet Video 2019
@Souls_296 жыл бұрын
Hyrule Warrior if AI robots take over the world we can just blame Code Bullet
@hyperion99346 жыл бұрын
"His name is Paul and he conquers nations" -Code Bullet 2020
@TheFantasticWarrior6 жыл бұрын
...of Minecraft
@davislast78916 жыл бұрын
I feel like a civilization video would be cool actually
@captionato6 жыл бұрын
lmao
@mr.mysteryjelly15323 жыл бұрын
"I CAN GO TO BED" has to be the funniest/saddest thing I have ever heard
@MJDev146 жыл бұрын
I have no clue what youre saying half the time but your channel is amazing
@azrubs5935 жыл бұрын
I felt so sad for him when he said “The next improvement was at generation 227” that’s gotta be so depressing
@sergioarvizu29725 жыл бұрын
humans probably on generation like a million yet we still don’t know how to live perfectly. Good job AI
@aaronstorey97125 жыл бұрын
*247*
@Subakak5 жыл бұрын
Me too
@pancakes96485 жыл бұрын
247***
@ryanrising22375 жыл бұрын
Sergio Arvizu According to Wikipedia, the earliest representative of what we’d call humans, Homo Habilis, first showed up around 2.8 million years ago. Assuming generations take 20 years, which is probably very uninformed, that would be 140,000 generations. Not as much as a million, but a bit more time to develop than 247 generations. That’d only get us to here from just before the Great Pyramids were built.
@Thomashorsman5 жыл бұрын
Sorry I wasn’t performing well
@romanboi88345 жыл бұрын
Try fuckin harder next time Thomas
@cheesecake-ne2qh5 жыл бұрын
Hello police I'd like to report a murder, I think the suspects name was John Garst? Please come to my location immediately, thank you.
@Joseph_Drew_III5 жыл бұрын
No hard feelings Nikolai.
@alphapicturesentertainment5 жыл бұрын
@@romanboi8834wanna go bowling?
@lilithkramer66985 жыл бұрын
Thomas Horsman HOLY SHIT I'M DYING
@melissaclaassen97074 жыл бұрын
I love how much "failure" you actually include in your videos. It's interesting to watch how many types of things can actually go wrong while programming, and hearing what your thought process is to overcome them.
@lillyp16523 жыл бұрын
So basically avoiding the problem
@ocinnico26085 жыл бұрын
"what's up guys, today's video is in 2048" -code bullet accidentally reveals his origins
@aang80265 жыл бұрын
Flunkyvs Lacky well now it isn’t anymore, so let’s like it again to try and get 512
@c10v3r4 жыл бұрын
**420 likes** :) **likes**
@evertree21334 жыл бұрын
@@c10v3r But why?
@dougthedonkey18054 жыл бұрын
I don’t get it
@dougthedonkey18054 жыл бұрын
@Buddy Christ oh, I see. But what does that have to do with code bullet’s origins? Are they saying he’s a time traveler?
@sir_slimestone37975 жыл бұрын
"Everyone has a right to an opinion, but not every opinion is right" I love it, I'm stealing it for future arguments!
@mcplumpkin61915 жыл бұрын
opinions aren't wrong or right
@sir_slimestone37975 жыл бұрын
@@mcplumpkin6191 whoosh that flew over your head
@mcplumpkin61915 жыл бұрын
@@sir_slimestone3797 woooosh* by the way, it's hard to tell if this was a joke because you don't know the tone of the text.
@geli95us5 жыл бұрын
@@mcplumpkin6191 yes they are, if your opinions collide with evidence, then they are wrong.
@mcplumpkin61915 жыл бұрын
@@geli95us they are based on thoughts and experiences.
@VoVilliaCorp5 жыл бұрын
"Yes, I can go to bed!" the typical software engineer saying after a project XD
@ITAC854 жыл бұрын
"I CAN, I just don't WANT to." - Typical Software Engineer ( not me)
@mantistsai64573 жыл бұрын
Your second approach reminds me of the Othello algorithm I wrote for my introductory coding course a few semesters ago and I just wanted to say, I 100% understand watching said algorithm come *so close*
@leonjefferson67835 жыл бұрын
CB: Since the difference between random movements and intelligent movements is very small... Me: Yes! I'm almost intelligent! edit: 1.5k likes :O
@sheeloesreallycool5 жыл бұрын
100th like babyyyyy
@kosk-kosk27775 жыл бұрын
Lol
@whydoiexist15274 жыл бұрын
881 like baby
@TheStoneBreak4 жыл бұрын
I don't know the first thing about coding but always thought it was interesting. Is something like this really difficult or is it kind of an "eh" thing to other coders and only impresses the ignorant
@losereye4 жыл бұрын
@@TheStoneBreak Oh god these algorithms are pretty monserous, its very impressive depending on experiece/foucus in ur code, as coding styled progammers simmilar to him wouldn't vice virsa
@rcoverc6 жыл бұрын
My highest tile is 8192. Take that thomas.
@dragovern6 жыл бұрын
One game where we are better... still
@thejman34896 жыл бұрын
RCoverC one time I got a 4096 tile and 2 2048 tiles but they weren't next to each other and I lost because I couldn't combine then and free up space.
@rcoverc6 жыл бұрын
@@thejman3489 Nice job. That's still a great score. I haven't played 2048 for about 6 months but I can tell you that I was improving slowly. Once I had 2 8192 tiles and I couldn't combine them *FACEPALM* :(
@CavemanNo.126 жыл бұрын
I got to 512. Snake is more my game
@MichaelTwitt6 жыл бұрын
I mean not trying to brag but...16384
@rasput1n66 жыл бұрын
*Make an AI learn to play Windows XP Pinball??* *I WOULD LOVE IT if it makes fancy combos continuously or see what he prefers to do lol*
@ethanhoward3893 жыл бұрын
Plot twist: hell release the second enigma machine video in the year 2048..he's leaving us clues
@PandaFan24436 жыл бұрын
The first generation is already better than me.
@azadanzans53595 жыл бұрын
Nathan, i thought you were joking, but then I watched it. (I know you were joking even if it is true)
@thegamezterb66155 жыл бұрын
Agreed.
@mr.cringekid51175 жыл бұрын
445th like
@mynewaccisecksspot65295 жыл бұрын
it's true
@DerGecko92_old4 жыл бұрын
Same
@zephyromenix87554 жыл бұрын
Every single AI video: It’s evolving, just backwards
@SpeedySlothBoi4 жыл бұрын
CB: keep the highest tile in the top left Tommy: how about... no?
@owltactics55403 жыл бұрын
I some how keep arriving at your videos late at night when I am searching for vids to watch and I always get so fascinated by you content.
@tysonmay55225 жыл бұрын
Code an Ai that can beat another Ai in chess
@yolkeggs5 жыл бұрын
Wait wouldn’t it always be a tie or am I missing something
@tysonmay55225 жыл бұрын
Good point
@InnocentC05 жыл бұрын
There's a chess match for AI, though. It's quite intense and surprisingly complex.
@BorkKillsOneLegMan5 жыл бұрын
@@yolkeggs let both ai know it can't end in a tie
@diegocastro74345 жыл бұрын
@@yolkeggs you're missing something! Chess matches between different engines (ai's) are very common and some are far superior to others. Google recently destroyed the previous benchmark for the strongest engine (Stockfish) with their deep mind ai. In fact, by changing the difficulty of the chess computer on your phone, you're essentially getting two different "AI's".
@kiweping55 жыл бұрын
If there was no visuals this would be the title: Man screams at someone (presumably his son) for 11 minutes and 10 seconds
@maribelle19355 жыл бұрын
I love it
@aliveandunwell4304 жыл бұрын
tru
@Notathreelettername4 жыл бұрын
96 likes
@walkthrough-scholar4 жыл бұрын
Go home you failure
@ramonmazur99404 жыл бұрын
Hi. you have the Tanki online logo photo I played back in the day, 2014 , 2015,2016,2017,2018.
@XanderLuciano6 жыл бұрын
Your sense of humor in these is simply amazing! Love it, doesn't matter how successfully or not your creations are, your commentary makes these 10/10. It's pretty cool to see what challenges you run into and what solutions you come up with to them. Interesting to see your different approaches :)
@nbabackcourtmedia3 жыл бұрын
I finally beat this game after so many years, I can die happy now
@nbabackcourtmedia3 жыл бұрын
@HelloThere nothing crazy it just says you won and you can keep going if you want
@Crazy17935 жыл бұрын
It's April 21 2019 still no part 2 of enigma machine
@moormonkey5 жыл бұрын
AceSpace April 22 now
@LegitosaurusRex5 жыл бұрын
@@moormonkey Wow, amazing observation!
@cokezerofolkhero5 жыл бұрын
Dustin 23
@WellFragrancedOne5 жыл бұрын
@@cokezerofolkhero 24
@-Berry.5 жыл бұрын
down stairs stuff 25
@itsme.lucaaa5 жыл бұрын
1:36 “let’s see what happens when we press the up arrow - aaaand they’re gone” 😂😂😂
@jakobbarbian28935 жыл бұрын
Let's see what happens when we deposit this money, and its gone
@yoak5 жыл бұрын
Welcome to standing up school. And you failed..
@gjk-arts58555 жыл бұрын
Helix Peli asdf movie.... And I love it
@yoak5 жыл бұрын
GJKtale - Gacha and undertale have you watched #12?
@gjk-arts58555 жыл бұрын
Helix Peli only that 1-11 complitition
@juliloafers6 жыл бұрын
1:19 "They do a quick fusion dance..." Instantly subbed
@dalvontah3 жыл бұрын
You’re teaching me better than my professors did
@jeffreythecow23925 жыл бұрын
Thomas: Is an AI and within 5 tries reaches 2048 Me: can’t even get to 512
@3_ormorecharacters4 жыл бұрын
I can barely get to 64
@WistfuII4 жыл бұрын
A computer pressing random keys has gotten farther than I ever have.
@alexandrubragari15374 жыл бұрын
Stop to pretend to be so dumb lmao, its actually impossible to not to reach 256 even moving completely random i guess, anyway back at school my record was 8192 (+ 2 2048,so i wasnt really close to the 16k)
@teraspeXt4 жыл бұрын
@@alexandrubragari1537 It's not impossible. You just have to intentionally be stupid. Edit: I think it might be near impossible to not get to 32.
@williamsomlai1414 жыл бұрын
ATS Gaming you gave me challenge, im getting under 32 and i will never stop trying
@simplistxc66496 жыл бұрын
He will single handedly create an AI that will destroy the world.
@farisakmal27226 жыл бұрын
* Tommy launches nukes * *TOMMY NOOOOOOOOO*
@RqtiOfficial6 жыл бұрын
ai learns to play agar.io
@bluue57566 жыл бұрын
David Simon And?
@bluue57566 жыл бұрын
@@legoguney but *everyone* had to love it for some reason
@art-oq1pi6 жыл бұрын
David Simon how is it trash
@mac1cam6 жыл бұрын
Someone allready made a bot for agar.io
@anton75916 жыл бұрын
@@legoguney just Because it's old does not mean that it is bad
@geezus71524 жыл бұрын
Bullet here explains the definition of camping “TOMMY KEEP TOP LEFT”
@ryanzwe6 жыл бұрын
I found your channel from the enigma video, would be great to see some more!
@benni22946 жыл бұрын
Me toooo :)
@agentstache1356 жыл бұрын
AI learns to play threes. Threes is a much more interesting game that was released before 2048. It takes a lot more strategy and just looks better
@Shennzo5 жыл бұрын
@Wax Meatley Funny thing is 2048 is the one that ripped off threes and gave it better graphics, that's what made it more popular
@seven_chords5 жыл бұрын
also the system behind the tiles added is much more complex in threes
@dominickeijzer58445 жыл бұрын
You're the Illuminati.
@Ferotiq5 жыл бұрын
Of course it was released before 2048, it isn’t even 2048 yet! It’s only 2019!
@dominickeijzer58445 жыл бұрын
Wooosh. Edit: I wooshed myself.
@Zandros5 жыл бұрын
At 9:07 your A.I. was within 5 moves of victory and it made the wrong move. Luckily he got there still anyway a few seconds later
@Zandros5 жыл бұрын
@CoRE Pyroz Right, Up, Left, Left. You're probably not looking at the same board configuration I am since the video is moving so fast.
@achilleaustin5 жыл бұрын
9:08 up left left
@fuckdatmf31445 жыл бұрын
right, up, left, left( there are alot of other ways ive also seen to instantly solve it but whatever)
@jamesr77085 жыл бұрын
Yeah ikr down, right, up, left, left
@hesohit4 жыл бұрын
Thomas seems to always wants to solve the block from top left to right so at 9:07 he wanted to solve the top far right block next??
@zeonos Жыл бұрын
4 years later and i am still waiting for that enigma video.... you cant leave me hanging like this :(
@meh32776 жыл бұрын
This was even more hilarious to me because my real name is Thomas but I rarely go by that anymore.
@im_tlnor6 жыл бұрын
TedDoesGaming then what the ham sandwich DO you go by
@vigorouspringle89626 жыл бұрын
Probably Tom
@aa-hf7hd6 жыл бұрын
Vigorous dingle exactly my thought
@dirtydan18876 жыл бұрын
TedDoesGaming brother
@dirtydan18876 жыл бұрын
Vigorous dingle I like your channel
@sacobred84005 жыл бұрын
me: *hears over-dramatic royalty-free music* also me: yeah dis the one
@potatomanW6 жыл бұрын
Your videos are great and the new animations are awesome
@chasem83936 жыл бұрын
potato man lol I remember seeing you in a video comment forever ago and was like “is that machamp-weedle fusion” 😂
@calebdeming55153 жыл бұрын
You are my favorite KZbin channel man. Love this shit
@eing70256 жыл бұрын
I clicked the subscribe button twice. I was already subscribed tho
@lochuynh66156 жыл бұрын
When you walk 😂
@wiredfpz6 жыл бұрын
there was no point of commenting that well done
@Parker056 жыл бұрын
Eing subscribe-unsubscribe-subscribed again. Thanks Eing, Very cool!!
@judithjanneck17195 жыл бұрын
You should have added to Thomas points for not moving the biggest tile. What I learned from playing this game constantly is that you should never move the biggest tile from his corner except there is no other way.
@VandreBorba5 жыл бұрын
I don't know.... Give more points to a right strategy moviment is not a bit cheating?
@Raff-mu5qc5 жыл бұрын
"my man thomas looks 5 moves into the future" This is King Crimsons ability
@bryceboukater46184 жыл бұрын
I love how many voice cracks he has, it makes him seem so much more human and relatable then these other youtubers with over 1 mil subs
@Youmu_Konpaku_6 жыл бұрын
_Ai learns how to take control of humanity_
@thesadsalamander6 жыл бұрын
Y E S
@gnaskar5 жыл бұрын
1: don't give points for having the same number next to each other; the value of the that is recorded in the next state, not this one. 2: reduce point value of a tile by 40% if the tile to the left is smaller and by 40% the tile above is smaller (this is a generalization of of keeping the biggest in the top left). If both are true the remaining value is 20%. 3: Award a sizeable bonus for empty tiles. Honestly, an AI that just tried to minimize the number of tiles with numbers on them with 5 states look ahead would probably be fairly good at this game.
@Fattycheese736 жыл бұрын
I think there’s an issue with the algorithm. In the actual game, part of the challenge is not knowing whether a 2 or 4 is gonna spawn. This especially matters when the board is almost full. Since the algorithm calculates what the board is gonna look like after 5 moves, then it already knows whether a 4 or 2 is gonna spawn in every one of those moves.
@boggers6 жыл бұрын
i think if the AI knew what would spawn where ahead of time it would be solving for 2048 every time very easily. What he should be doing is calculating for every possibility over a couple of moves and playing the "safest" path. Treat the RNG as an adversary, and minimise the damage it can do.
@4xelchess9056 жыл бұрын
yeah, he is probably doing a min max algo over the tree of all possible moves AND spawns. Alternatively, he may be computing probabilities and expected gains on that tree. A refinement would be making a Monte Carlo search, since we know the distribution of spawning. If the AI knew what would spawn where ahead of time, it would lead to spawn manipulation abuse, where the AI deliberately chooses an objectively subpaar move because he knows it will be lucky (the spawn location has to depend on its move, since available locations depend on its move).
@jsmunroe6 жыл бұрын
This is they same way chess algorithms work. They calculate all possible next stages for each of the next possible moves. He claims he goes 5 layers deep with this. That's a fairly massive search tree, but I guess if he has the computational power and/or the time he could do it.
@danielfay89636 жыл бұрын
Additionally a 4 only spawns 10% of the time, meaning you need to account for the probability of a given outcome when considering the risk/reward
@daniellucas55226 жыл бұрын
Not that massive for this game. Chess has far more moves available in a turn, this one has only 4 moves and then the number of empty locations on the board left * 2 for where the next block will spawn.
@shawnsimons4183 жыл бұрын
coding is just "if" statements - a wise man 2021
@jerrygeorge44786 жыл бұрын
YOU PROMISED US!
@boggless27716 жыл бұрын
+
@musashiaerostar44094 жыл бұрын
7:50 - 7:52 That made me laugh harder than it should
@KitTheAnkafolk3 жыл бұрын
Me too XD
@THEcrosby5 жыл бұрын
Code bullet: what starts with n and ends with o Everyone:no Code bullet :the real answer is yes
@eyesak3872 жыл бұрын
Crazy how much calmer and happier he sounded in his old videos
@zxt3276 жыл бұрын
I wonder how long it would take thomas to get to the 131072 tile. It would require a large amount of luck with tiles and probably takes trillions or more trials
@fotwen6 жыл бұрын
ZX T I wonder that too. I had the same game going for months. Of course I didn't play it everyday. But it took forever. Mainly cause I had to fix mistakes. And of course it wasn't 4X4.
@chinesebaloni6 жыл бұрын
thommy will just print a tile with 131072 on it and call it gg
@flabort6 жыл бұрын
@@fotwen Have you tried the 5D? 2x2x2x2x2? (2x2 grids layed out in two 2x2 grids, wasd within a grid, rf to go up, qe for within the two metagrids, and zx to swap between those). Since it's 32 empty tiles instead of 16, two tiles spawn with each move.
@xanderh24046 жыл бұрын
@The Creeper King It can, it's the theoretical maximum possible with a 4x4 grid. It requires a perfect arrangement of tiles to reach, and a 4 MUST spawn in the empty tile.
@garrettbowes48786 жыл бұрын
It can fit that but I had that block in the bottom left corner and the 4 in the bottom right. All other tiles where occupied by their highest possible value
@Lumiere_5 жыл бұрын
The future : If you can’t do something, program a robot to do it for you instead
@ShashankPinchaG6 жыл бұрын
Enigma!!! Gimme me Enigma!
@azyfloof6 жыл бұрын
GIB MIR JETZT ENIGMA! SCHNELL! SCHNELL!!
@Luca-sg8zf6 жыл бұрын
UPPP!
@trueguy98476 жыл бұрын
Azy Die Deutschen sind überall xD
@jazzyboxer6 жыл бұрын
Shashank Pincha I am here!
@gojifan54gaming156 жыл бұрын
NEIN!
@Arvyx08 ай бұрын
I love how back when he posted this he wasn't so unhinged and actually seemed like a calm guy doing coding for fun
@jacoby60006 жыл бұрын
Could you retry the neural network approach, but where the goal is to have a high number + fewer tiles on screen? Like, "success" is determined by the average tile value over time. That should help a lot, I would think.
@entropyzero55886 жыл бұрын
Alternatively, keep the current algorithm and use a nn to evolve the fitness function: Determine all the possible ways to score a game state (total score, highest tile, adjecency, position of highest tile, …) and have the nn change the weight of those data points.
@BaoCypher09126 жыл бұрын
I love this, can you try more complicated game ?
@realdragon6 жыл бұрын
Like Super meat boy? Or The End is nigh
@alexanderreichert29666 жыл бұрын
Like enigma
@1erRadiant6 жыл бұрын
@fabi Lindner a teacher of mine did it ^^ but she said it is not really simple...
@Bestname_Ever6 жыл бұрын
Mathis DANO ugh... i can almost smells the insanely complicated logic, calculus and possibilities reeking...
@eccotellsya29836 жыл бұрын
You guys need to keep something in mind, its not just coding the AI, he also has to code the entire game, which is the most time consuming part. That's the main reason behind doing "simple games".
@aohtr5 жыл бұрын
He's so skilled
@azadanzans53595 жыл бұрын
Djce games, i totally agree
@angel-np9kp5 жыл бұрын
HeS nOt EvEn ThAt GoOd
@blurooster52205 жыл бұрын
Heds Gaming he’s joking
@yolkeggs5 жыл бұрын
Well Thomas tried his best Oh and CB did stuff too
@mattt82653 жыл бұрын
It sounds like you implied you were using the minmax algorithm to evaluate the future game states. When evaluating the game state, you could take into consideration the possible locations for the new tile & its value (called substates) and apply a modified minmax algorithm to those substates. I can tell that this is not being done because of the move at 8:25, where 256,128,128 is moved right. The minimum state for that move would have been a 2 being added at the top left corner, permanently (for the forseeable 5 future moves, actually) displacing 512 from being in the top left corner. A left direction in this instance would be the better move. I'm halfway motivated to make a better algorithm for this game myself now
@ArtAgma5 жыл бұрын
5:14 Phone: 911! What's your emergency? Me: Help, there's a savage here.
@thetrueandfinaldeath90734 жыл бұрын
9:59:59
@somerandomweeb15314 жыл бұрын
Watching this i thought "I thought the Ai was supposed to play the smartest move" Thomas proved me wrong.
@prespickle92606 жыл бұрын
Do you *condone* the abuse of subscribe buttons?
@matthewbromley29566 жыл бұрын
PresPickle well maybe he doesn't. But I do so go abuse mine 😏
@SoggyCoffeeAddict6 жыл бұрын
better question is, does he condone the abuse of ai
@Luci_Diavol6 жыл бұрын
No, they're very delicate, they should be treated with utmost care
@ravenkhor6 жыл бұрын
Chase Bishop unless you want it to create an uprising
@melon42496 жыл бұрын
PresPickle yes some have even been *ATTACKED* over 50,000,000 times
@jackburg55953 жыл бұрын
Seeing you use processing is so nostalgic. Processing is fantastic
@frankweiler71215 жыл бұрын
At 8:09 when you scream "Tommy, noo!" The video stops and the Google assistant pops up. Great feature 👍
@unrealcactus85466 жыл бұрын
**Instant click**
@ginters53896 жыл бұрын
bro same
@sciencelover40796 жыл бұрын
Видео наоборот Watch my KZbin channel it's about artificial intelligent taking over the world m.kzbin.info/www/bejne/ZmXZdZyGnrWsg9U
@memes36206 жыл бұрын
Видео наоборотy
@shawnyewest68126 жыл бұрын
Видео наоборот yeah
@Ida-xe8pg6 жыл бұрын
is this guy a hacker???
@kazookid20345 жыл бұрын
Do a livestream where you code a game but every time you swear you have to delete all your progress on your game so you have to completely start over. Like so code bullet can see
@rugbydudedc42165 жыл бұрын
Kazoo Kid you should put this on a new video
@rugbydudedc42165 жыл бұрын
This video is a year old
@xxcamxx17175 жыл бұрын
RugbyDudeDC yeah
@wailingbanshee1865 жыл бұрын
Kazoo Kid good idea
@redpandazoologic27315 жыл бұрын
It may never end
@reubenransfield79143 жыл бұрын
oh god.. 8:22 feels like when you’re on the last mission of a game and a slowed down instrumental version of the main theme plays…
@sparkks14 жыл бұрын
CB: the theme for today is failure Me: that sounds like my life
@tfk_0015 жыл бұрын
"A...I... What does the A stand for?" "Artificial." "The I--" "Intelligence!"
@MysticalyAutistic4 жыл бұрын
"what does the A stand for?"
@battalionstallion38944 жыл бұрын
Artificial idiot
@Skeptix14 жыл бұрын
@@MysticalyAutistic Apple juice
@squibble3114 жыл бұрын
@@battalionstallion3894 r00d
@squibble3114 жыл бұрын
@@MysticalyAutistic it stands for AAAAAAAAAAAAAAA
@DibIrken5 жыл бұрын
"Tommy, what button do we not press so we don't die?" "I am Tommy." "Nooooooooo!!!"
@penguinstarlette40285 жыл бұрын
Nice volume 2 reference!
@Enderia23 жыл бұрын
@@penguinstarlette4028 ?
@penguinstarlette40283 жыл бұрын
@@Enderia2 Guardians of the Galaxy Vol. 2
@maximthemagnificent4 жыл бұрын
Seems like using NEAT to evolve an evaluation metric for the lookahead approach would be a useful fusion of the two methods.
@noahtawil87933 жыл бұрын
that’s how really advanced AIs like alpha zero work, they use the neural network to learn which parts of the game tree to look into
@MEANLEANBEAN3 жыл бұрын
Wow thats neat
@SoulFoxie4 жыл бұрын
Code Bullet:"Woah woah I know the word Algorithm scares you guys-" Everybody:"AHHHHHH!" Me:"...."
@alexander32934 жыл бұрын
Same I like algorithms. NNs unpredictable.
@Midnight-zq5op6 жыл бұрын
thOMaS
@thomashuyghebaert56226 жыл бұрын
Midnight9 u wot m8
@thomassilia73066 жыл бұрын
yes ?
@andrewz45156 жыл бұрын
GLaDOS
@the_elysium78676 жыл бұрын
Hello?
@thomasrandwijk6 жыл бұрын
Ye
@quack4205 жыл бұрын
2048... should have gone for at least 4096 or 8192
@MYcool11115 жыл бұрын
The game is called 2048 you win by getting the 2048
@quack4205 жыл бұрын
@@MYcool1111 yeah but you can continue afterwards just getting 2048 is sort of easy-mode
@MYcool11115 жыл бұрын
@@quack420 well yeah but maybe cb was just too lazy
@asticlol5 жыл бұрын
My highscore is the 32k one
@Kdrews-tn8oy5 жыл бұрын
@@quack420 uh hell no it's ain't easy at all
@Azoperoa3 жыл бұрын
ive never watched your channel on my pc and yet I've been recommended you, I don't mind
@Snowiiwastaken5 жыл бұрын
„It‘s like Steroid Baby Steps“ -Code Bullet 2018
@quietsamurai19986 жыл бұрын
Why not use the game *length* as the evaluation function for NEAT? After a certain point, you can't just make random moves if you want to keep making moves. Each merge increases the game length by another move, so eventually an AI with a goal of maximizing game length would be forced to make a 2048 tile. That should make the fitness function far more fine-grained. Heck, you could probably do fitness=moveCount+2*maxTile to get the best of both, as any improvement in maxTile would be far better than ignoring a maxTile merge in favor of squeezing in a few extra turns.
@bryan1972ca6 жыл бұрын
I was thinking he could do something similar with the Algorithm. Instead of looking for valuing large numbers are good, valuing solutions where there are less tiles on the screen. So the algorithm tries not to lose instead of trying to win. This might make the game go longer and thus giving larger numbers.
@mittfh5 жыл бұрын
Perhaps also a higher bonus for keeping the highest numbers on the top row, or have an incentive that after merging on the top row, restrict moves to 'up' and 'left' until the top right position is filled.
@gabrielgarcia98225 жыл бұрын
but then ones that do not move at all will win
@ninjafaceify5 жыл бұрын
@@gabrielgarcia9822 no, because it's not about length of time but number of moves, that's the length, not actual time
@tuckertime18836 жыл бұрын
00:48 That.....that right there is the reason I subscribed 😂😂😂 I fuckin loved that lol
@MetaLemonaide3 жыл бұрын
Hey! I actually made a 2048 ai in college. Takes me back. Mine performed okay, but the algorithm was definitely trash compared to the top tier algorithms. Was satisfying to see it all work though.