How does game ideas work?

so i want to make a 3D escepists of course on a different name and stuff but it will basicly have the same mechanics just in 3D is it ok to make money of that game becacuse i only copied the idea or not?

None of us are lawyers and it would not be right to give you legal advice… Other Answers take this warning also

yeah but there have to someone here who done stuff like that and knows

Laws change all the time someone on here may easily give you a answer and it be wrong and cause other users a liability easily for giving bad advice. “I’m not a lawyer but form what I read it’s shakey” Read pacam vs shangai pacman