Basics of an attack based pet simulator

How would I go about making a game like Anime artifact or Anime Worlds Simulator or Anime Fighters Simulator where you walk around and kill enemies to get coins and get pets?

2 Likes