Nice job! The mouse click registering wasn't too bad actually. At first I was confusing a click not being registered for just not having enough resources 😅 so after I got the resources building fast, I really didn't have any issues!
I think a notification or something to show that you don't have enough resources would help. That and some enemy AI and I could have spent hours playing this. Great work!