jackel27 sends brownie points to @saintpeter :sparkles: :thumbsup: :sparkles:
:warning: jackel27 already gave saintpeter points
Minimax algorithm Can anyone please help me understand the concept of depth in this algorithm? Does the author mean that we need to check for the number of empty squares left on the board? In the last example the depth reads as 0, 1, 2, 3 and 4. I didn't get it.
@sigursiguros You shouldn't be able to press "." again if "." is already pressed once
Also, 3-6 gives -9 when it should be -3
@coderNoob Imagine a blank board - Now make a mark. Now there are 8 possible second moves. for each of those 8 moves there are 7 possible next moves, and so on. Each "level" of moves that you go down is a level of depth. There are no more than 8 levels of depth, for a total of 9^3 possibles boards (duplicates included).
@VinodhThiagarajan1309 Anyone here who can help me with media query ? I was wondering how can i create an issue to fix it using media query but now Im doing the Calculator project the UI goes crazy when the window is resized http://codepen.io/VinodhThiagarajan/full/obdRbK
@mynameissal how do I do this?
@sigursiguros Check if your line contains a dot if it doesn't then add a dot. If it does then don't do anything.
I'm not sure about the 3-6 = -9
@mynameissal can I use a regex to achieve this?
It depends on how you wrote your solution.
You could do it with simple if then else
I am going to take a nap. Remember you don't want two dots!
@SaintPeter So depth = number of possible moves left to make which is also the number of blank squares left on the board?
Hi guys, I"ve fixed my calculator, woudl you please review.
@RakshithNM First of all, I assume you mean the Portfolio. The items align underneath each other for smaller screens. Please look at the code for the Portfolio area. Bootstrap has classes for each screen size, but you just used col-md-4 for medium size. You can apply the other classes as well to the same div. Then have a look and decide whether to decrease or enlarge the element for the individual sizes (e.g. col-lg-5 instead of col-lg-4).
@undefinedsymbol thanks for the suggestion
rakshithnm sends brownie points to @undefinedsymbol :sparkles: :thumbsup: :sparkles: