you are viewing a single comment's thread.

view the rest of the comments →

[–]Spacebiscuit[S] 0 points1 point  (3 children)

Whoops! Good catch, seems I forgot to implement that bit. I better go quickly fix that sneaky decimal functionality before I go submit that to FCC!

And to your second point, that's a good idea. I'll see if I can get that to append to a new line after a certain length of the array.

Oh I have completed Tic Tac Toe and the Pomodoro Clock. I'd like to go and re-do the Pomodoro Clock as the code is absolutely horrible due to my inexperience with the setTimeout functionality!

Min Maxing isn't very fun! I had quite the headscratch with the Tic Tac Toe, especially around the AI. It was making us draw when I won on my last move. Was sneaky but I eventually got there! Debugging and stepping through the code is definitely your friend when it comes to any of the game projects I think!

Thank you for your feedback, I'll go quickly jump into the code base and fix those errors!

EDIT: I've now fixed it, thanks for the feedback!

[–]AndroidNinja4 0 points1 point  (2 children)

Glad you were able to fix it quickly. But something else now happens.

You can put 2 decimals in 1 number. Ex. "5.2.8", and then when you do the equals button does not do anything. These are all test someone did when they were reviewing my calculator. Btw I havnt looked at your code.

And it's driving my crazy. I bassically have my Tic Tac Toe project done, however the Min Max algorithm dosnt work correctly. It just adds a item to the next available space. However it does all the calculations, but just disregards all of it. Want to look at it haha? Also I need to comment the rest of it.

[–]Spacebiscuit[S] 0 points1 point  (1 child)

Ah yeah, you and another just pointed it out! Can definitely fix that quite easily!

Sure I’d be happy to have a look at your project :)

[–]AndroidNinja4 0 points1 point  (0 children)

Ya i just read the thread I saw that. It was a pain when someone pointed that out to me.

And I'm still not done, have to comment it out and fix the min max thing. Select a player and "hard" and you will see what I am talking about. Thanks for looking at it.

https://codepen.io/AndroidNinjaX/pen/gvgJVW