audinowho / audinowho/RogueElements

Add difference highlighting to debug printing

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
63
Forks
9
PR merge metrics
No merged PRs in 30d

Description

The functions PrintGridRoomHalls, PrintListRoomHalls, and PrintTiles in ExampleDebug.cs will only print if the string generated from the current map is different from the string generated in the previous call of the function. The differences between the previous string and the new string need to be highlighted when the new string is printed. This means changing the font color.

Contributor guide

No contributing guide indexed for this repository

Research direction

Open ExampleDebug.cs and inspect PrintGridRoomHalls, PrintListRoomHalls, and PrintTiles, including how each stores the previous generated string. Run the existing debug-printing examples to observe the current output; done means changed portions are highlighted by font color whenever a new map string is printed.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.