Chuck LU

Results 132 comments of Chuck LU

The rank of result ```C# // TB_BaconShop // Token: 0x06004278 RID: 17016 RVA: 0x00168EE4 File Offset: 0x001670E4 public override string GetVictoryScreenBannerText() { int realTimePlayerLeaderboardPlace = GameState.Get().GetFriendlySidePlayer().GetHero().GetRealTimePlayerLeaderboardPlace(); if (realTimePlayerLeaderboardPlace == 0)...

@beheh Is this feature belongs to [Tier 7](https://www.reddit.com/r/BobsTavern/comments/gsa03e/new_tier7_feature_battlegrounds_personal_stats/)? I expected the stats of battlegrounds should be free.

Did you know something about this repository https://github.com/sliverfishes/silverfish? The ai which could be used in HearthBuddy and HearthRanger.

I have written a sample code https://github.com/ChuckForkHearthBuddy/SabberStone/blob/chuck-master/SabberStoneCoreTest/src/ChuckTest.cs You can get the game record from https://hsreplay.net/api/v1/games/EPYWPdrBBaELpVVq3aiBEc/ And from the replay_xml property of the json response, you can get the battle detail...

One turn test AI, it's enough. Did it support to give best move according a given game board state?

@darkfriend77 Here is an example about how to simulate the current board state. https://github.com/sliverfishes/silverfish/blob/master/README.md Maybe you can get some idea from this case: > ####################################################################### > start calculations, current time:...

The following method should use First instead of FirstOrDefault ```C# public static Card FromName(string cardName) { return Data.Cards.FirstOrDefault(x => x.Value.Name == cardName && x.Value.Collectible).Value; } ``` Currently when I switch...

Yes, I think it should throw exception if we can not find the card. Otherwise it's too late when I find the card is null. If someone want to load...

Maybe we can get the language from App.config in static constructor? Add a app setting with key Language or CardLanguage, then read it from config file. Otherwise we need provide...

From another repository, I find the card implementation https://github.com/HearthSim/HearthDb/blob/master/HearthDb/Card.cs#L26 It supports the language setting on card level, we might take this design.