Added image to the simplest example
commited
commit
b93a0bb4a505aa42ddf3ebb2a9a506096da339a2
... | ... | @@ -15,7 +15,9 @@ Logarithm is used as an inverse function for the function [[Power]]. This functi |
15 | 15 | ## Examples |
16 | 16 | If you're looking for examples, surely all examples for this is complex. The simplest example is that you can compute a number's length by plugging 10 into the base and flooring it, and finally by adding 1. |
17 | 17 | |
18 | [[/uploads/get_num_length.png|alt=Get Num Length]] |
|
19 | ||
18 | 20 | Logarithm is such an advanced function to be common in simple games. But if you really want to see how it can be used, one example is Sounak9434's [*MCTS Engine*](https://fancade.page.link/1H1v), a type of AI used for board games. |
19 | 21 | |
20 | 22 | - Logarithm is used in the MCTS Engine as a function to find the best possible moves the AI can execute in the set of given possible moves and the players possible moves in the game. |
21 | - *MCTS Engine* is made before the logarithm function is implemented. The function that was used before in the MCTS engine is a custom script made by PotatoChan
|
|
22 | 23 |
+- *MCTS Engine* is made before the logarithm function is implemented. The function that was used before in the MCTS engine is a custom script made by Potato Chan. |