Each of the gold coins is worth 500 gold coins and if you beat the boss, you can get as much as you want. If moving is too slow, you can teleport the gold coins with the mouse or by touching the screen so you can collect them faster without getting bored.