openfrontio / openfrontio/OpenFrontIO

Sort Players by how much their Nukes have cost you

Open
#5,393 1 comment 0 reactions 0 assignees View on GitHub
not-approved
Dominant language
TypeScript
Stars
2.7k
Forks
1.4k
Avg merge
17h 43m
Merged PRs (30d)
310

Description

The alerts that say which player has launched a Nuke at you only show up for a brief time. Sometimes I will have forgotten who launched it by the time I am done recovering from the Nuke.

It would be nice if when a Nuke (or Hydro or Mirv) blows up one of your buildings, the game kept track of who did it and how much it cost you. And then the scoreboard showed that and let players sort by it. Something like "Player1 blew up 5M worth of my buildings, but Player2 blew up 17M worth, so I should attack Player2".

(Should buildings always counted as being worth their maximum price? I think so, but I'm not quite sure).

An alternate idea would be to keep track of relative value. Where if you blow up their stuff it adds to the total, but if they blow up your stuff it subtracts. I am unsure which idea is better. (Maybe do both? They would only differ when it comes to display it on the scoreboard...)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing handling for Nuke, Hydro, and Mirv explosions, then find the scoreboard implementation. Clarify whether the game should track damage dealt, damage received, or both, and how building value is calculated. Done means the agreed metric is recorded when buildings are destroyed and displayed with scoreboard sorting.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
game-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.