I’ve not made much progress this week, but there’s always weeks like this. I’ve had an offer to make icons for the inventory, and so I need to look into how I can sort out the UI so that I can add icons.
Kotlin itself doesn’t seem particularly suited to web page development directly – I can make a page with things in it, but it’s a bit painful to make a nice UI and I’ll be constantly reinventing the wheel.
Instead I think I’ll try to use an established framework. I’m going to start with ReactJS – this is a well known framework and while I’m not familiar at all with it, this is a good opportunity to learn.
So the next steps here are to work out how to make a React application, and then work out how to integrate my existing Kotlin into it. Part of this might be very simple – all I need from the Kotlin is to translate the game state into something that react can read. However, since I have never tried to use React, I expect some teething problems! We’ll see where we go over the next week or two.
With a bit of luck this will give me something I can actually put on this site and show the current state of the game.