hi guys, I’m trying to give the properties of obj2 to obj1. Is this the right way about it?
return obj1 === obj2[key];
@junipberry key isn't defined, you should look into the Object.keys and hasOwnProperty functions
@junipberry - question - what do you think your if statement is evaluating?
Hello everyone! I'm working on the Tic Tac Toe advanced project and I'm having some issues understanding how to properly implement minimax or similar algorithms to create an unbeatable AI for a board that's in a 2D array. Does anyone have any resources that would be helpful or any suggestions?
good point, ty @coymeetsworld. Fixing it now.
junipberry sends brownie points to @coymeetsworld :sparkles: :thumbsup: :sparkles:
@lestairon what part ? if a challenge seems hard, try to separate it in smaller chunks to see what part is giving you trouble
I don't know how to do a share button and where should i take the random quotes
I'll try to do it
Wish me luck
@lestairon For starter you don't need to pull the quotes from an API, you can simply create an Array of quotes and then pull out one at random. After that simply switch from picking it one up from local to an API :)
I'd like to do it using an API
To know how it works
heyyy whats this ~~ mean in JS?
Uh, @Marmiz Can i create an API using google sheets?
Wait, maybe i don't know exactly how that works, but i saw a video doing that but with Python
Nvm, that's not an API
It's a Database
@lestairon yep :) An API is different... you can create one for sure :) How good are you at back end?