Posts

Showing posts from March, 2018

ASCII Art Mazes and Playing with Kotlin

I decided to play around with Kotlin for fun on a home project that interested me.  At many points during the development I was thankful that I was using Kotlin and not Java, here's a few notes that explain why.  All the code for this page can be found here:  https://github.com/phillbarber/kotlin-maze-demo The Problem Given a simple 2D maze inputted in an "ASCII art" format, write some kotlin code that will plot a route from the Start to Finish. In other words, given this... ############################################ # # # # # # # # # # # # # # # # # # # # # # # F # # # # # # # # ...