So buggy it's unplayable for now... :c It's a shame I was really curious.
Maybe if you make the map made of pixels or blocks (could be triangle or round shape blocks) you could make it less buggy?
Also I think it woud be better to differentiate ores by shape or pattern instead of only colors