Skip to content

Improve EndlessGame score display#288

Merged
Kyome22 merged 3 commits into
mainfrom
improve-score-display
Mar 6, 2026
Merged

Improve EndlessGame score display#288
Kyome22 merged 3 commits into
mainfrom
improve-score-display

Conversation

@Kyome22
Copy link
Copy Markdown
Collaborator

@Kyome22 Kyome22 commented Mar 6, 2026

Context of Contribution

  • Bug Fix
  • Refactoring
  • New Feature
  • Others

Summary of the Proposal

Redesigned the EndlessGame score display, inspired by the Chrome dinosaur game.

  • Cap the score at 999
  • Display score as always 3 digits with zero-padding
  • During gameplay and before the game starts, show only the current score on a single line (e.g. 008)
  • On Game Over, show both the high score and current score on a single line (e.g. HI 019 008)
  • Always use Consolas 15 for the score display line, regardless of language setting
  • Remove the now-unused Game_Score and Game_HighScore localization strings

Reason for the new feature

The previous display stacked the high score and current score on two separate lines, which felt visually heavy. This change adopts a cleaner layout similar to the Chrome dinosaur game.

Checklist

  • This PR does not contain commits of multiple contexts.
  • Code follows proper indentation and naming conventions.
  • Implemented using only APIs that can be submitted to the Microsoft Store.
  • Works correctly in both dark theme and light theme.
  • Works correctly on any device.

Kyome22 and others added 3 commits March 6, 2026 21:59
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the EndlessGame HUD to use a single-line, Chrome-dino-inspired score display, and removes the now-unused localized labels for “Score” and “High Score”.

Changes:

  • Cap in-game score at 999 and format scores as 3 digits with zero-padding.
  • Render score as a single right-aligned line; show both HI + score only on Game Over.
  • Remove Game_Score / Game_HighScore resource entries and their generated accessors.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
RunCat365/EndlessGameForm.cs Caps score at 999; switches to a single-line D3 score/HI display using Consolas 15.
RunCat365/Properties/Strings.resx Removes Game_Score and Game_HighScore resources (default locale).
RunCat365/Properties/Strings.ja.resx Removes Game_Score and Game_HighScore resources (JA locale).
RunCat365/Properties/Strings.fr.resx Removes Game_Score and Game_HighScore resources (FR locale).
RunCat365/Properties/Strings.es.resx Removes Game_Score and Game_HighScore resources (ES locale).
RunCat365/Properties/Strings.Designer.cs Removes the generated Game_Score / Game_HighScore accessors.
Files not reviewed (1)
  • RunCat365/Properties/Strings.Designer.cs: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread RunCat365/EndlessGameForm.cs
Comment thread RunCat365/EndlessGameForm.cs
@Kyome22 Kyome22 merged commit e6dbbdc into main Mar 6, 2026
4 checks passed
@Kyome22 Kyome22 deleted the improve-score-display branch March 6, 2026 13:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants