https://kotlinlang.org logo
Title
h

Hullaballoonatic

09/21/2018, 2:13 AM
finished the project. thanks for all the help guys!
all the questions i've been asking for the past month and for the next few are related to hw assignments i'm getting in my AI course. they're a lot of fun! this week's was a genetic algorithm. if you're interested in seeing the completed assignments in action, here ya go! https://github.com/Hullaballoonatic/AI-HW
v

ValV

09/21/2018, 4:46 AM
But why mix of Java/Kotlin? Why not using one language for a project?
k

karelpeeters

09/21/2018, 8:00 AM
Maybe the course organizers provided Java templates?
v

ValV

09/21/2018, 8:19 AM
Reasonable
But why Kotlin?
k

karelpeeters

09/21/2018, 8:49 AM
Because Kotlin is nicer to write? You're in a Kotlin slack and you ask "why Kotlin" 😛
v

ValV

09/21/2018, 12:08 PM
Never mind. @Hullaballoonatic, it's tricky to reconfigure and run the project
h

Hullaballoonatic

09/21/2018, 4:08 PM
yeah we've been provided java code. i could switch it to kotlin, but i think the professor would rather we use his code so he can easily hotswap our solutions
yeah, i didn't exactly write the genetic algorithm to be easily reconfigured without altering code...
i'll make sure to if i feel like sharing again in the future
v

ValV

09/21/2018, 4:44 PM
Also it would be nice to have a bit more description. As I understood (I could not run the project), it implements game AI algorithms (ai-in-action). And I'm quite surprised that for introduction into such kind of algorithms Java was used, not Python or C++ (the later, obviously, rather complex)
h

Hullaballoonatic

09/21/2018, 7:46 PM
we're welcome to write all assignments in any language we wish, but as an intro course java is plenty quick enough.