This site requires JavaScript, please enable it in your browser!
Greenfoot back

RcCookie's Comments

Back to RcCookie's profile

RcCookieRcCookie

2020/8/28

Thanks!
RcCookieRcCookie

2020/8/27

Thanks a lot! It’s more like the real thing compared to normal maze games
Cool! Make sure to tell me
Also sorry if I’m wrong with ai vs bots, I’m just a student ;-)
You can try to rework their decisions, the source code is right there. You could try to make a neural network that uses the three inputs and maybe two in 45 degree angles to output a value for each option(left, right, straight)
I have tried neural networks once, but failed;-) The ai uses raycasts; it checks the distance in every possible direction (left, right, straight) and selects the direction with the biggest distance. With the difficulty slider you basically adjust the frequency at which the ai checks the distances. Also, the update frequency is randomized
RcCookieRcCookie

2020/4/21

Thanks!
Can you show me the button source code?
I´ll see if I can fix this Thanks for that comment!