top | item 46662399

Show HN: Speed Miners – A tiny RTS resource mini-game

49 points| nickponline | 1 month ago |speedminers.fun

I've always loved RTS games and wanted to make a game similar for a long time. I thought I'd just try and build a mini / puzzle game around the resource gathering aspects of an RTS.

Objective: You have a base at the center and you need to mine and "refine" all of the resources on the map in as short a time as possible.

By default, the game will play automatically, but not optimally (moving and buying upgrades). You can disable that with the buttons. You can select drones and right click to move them to specific resources patches and buy upgrades as you earn upgrade points.

I've implemented three different levels and some basic sounds. I used Phaser at the game library (first time using it). It won't work well on a mobile.

8 comments

order

lukemercado|1 month ago

That was lovely, thank you for sharing.

It seems the core of the game is correctly understanding the victory function (time to complete refinement of all resources) and then applying bottleneck theory to correctly optimize each stage.

Definitely a joyous little ten minute romp.

Pikamander2|1 month ago

The game's container doesn't appear to scale down correctly on Chrome or Firefox for Android.

I can't see some of the UI buttons regardless of whether I toggle desktop mode or portrait/landscape.

mionhe|1 month ago

> "... won't work well on mobile."

jmpavlec|1 month ago

Fun little game, worked well enough on mobile. Some of the upgrades were cut off and I left auto move on, but I was still able to beat the average fairly easily and was just off the leader board.

Some small tweaks for having everything be viewable and I'd say it is playable on mobile.

Nice job

onion2k|1 month ago

A game that auto-starts with no instructions that's also against the clock? That's frustrating.

PeterStuer|1 month ago

Took me a while, but the algo to beat the game is extremely simple :)

dbacar|1 month ago

all manual, and auto move and auto upgrade should be listed in different standings...