Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

need help from a c programmer?
InspectorGadget
#1 Posted : Wednesday, November 12, 2014 6:00:41 PM(UTC)
Rank: Newbie

Groups: Registered
Posts: 2

I know a fair bit about stack and heap juggling, algorithms, and the such... and have been programming in c/c++ for a few years. Don't know much about c#, but it is a derivative of c... let me know if you think you could use some help.
JoyAdmin
#2 Posted : Wednesday, November 12, 2014 10:14:53 PM(UTC)
Rank: Administration

Groups: Administrators
Posts: 4,847

Thanks: 805 times
Was thanked: 4539 time(s) in 1637 post(s)
thank you inspector, do you know which prediction algorithm is better in hearthstone? For example, if opponent has 3 cards in drop 4, how to predict what cards they are according to the play history, is there anyone already did successfully?
1 user thanked JoyAdmin for this useful post.
beaverpatrolo on 11/13/2014(UTC)
InspectorGadget
#3 Posted : Thursday, November 13, 2014 10:52:08 AM(UTC)
Rank: Newbie

Groups: Registered
Posts: 2

If you had access to a database with an opponents history with access to what cards were played on which turns, you could add up all the cards played and turn the stats into percentage numbers (20 times player played nubian egg, 30 times player played leper gnome, 20 times player played ardent , 10 times player played abusive sergeant, 20 times played 10 times, senjin shieldmasta - (110/100)*times said card was played each turn = %value of seeing said card).

This would need to be done per deck, and you would need to run priority checks on all decks until you can distinguish which deck your playing against (only 1 deck uses flame imp, and flame imp was played on turn one. You drop all other decks from memory at this point). For cards used across multiple decks, you would just create a co-efficient of the cards per deck (3 decks use flame imp, 2 have x2, 1 has x1. all total flame imp usage for a single deck would be total flame imp usage/2.5)

This could be done at the beginning of the match, so you would peak resources at the beginning, then just load the stats into a struct array.

However, I don't know of any way to access a random opponents play history.
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.234 seconds.