Insights Blog
-- Browse All Articles --
Physics Articles
Physics Tutorials
Physics Guides
Physics FAQ
Math Articles
Math Tutorials
Math Guides
Math FAQ
Education Articles
Education Guides
Bio/Chem Articles
Technology Guides
Computer Science Tutorials
Forums
General Math
Calculus
Differential Equations
Topology and Analysis
Linear and Abstract Algebra
Differential Geometry
Set Theory, Logic, Probability, Statistics
MATLAB, Maple, Mathematica, LaTeX
Trending
Featured Threads
Log in
Register
What's new
Search
Search
Search titles only
By:
General Math
Calculus
Differential Equations
Topology and Analysis
Linear and Abstract Algebra
Differential Geometry
Set Theory, Logic, Probability, Statistics
MATLAB, Maple, Mathematica, LaTeX
Menu
Log in
Register
Navigation
More options
Contact us
Close Menu
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Mathematics
General Math
Optimizing permutations of hero traits in a computer game
Reply to thread
Message
[QUOTE="liquidFuzz, post: 6550062, member: 300750"] [B]TL;DR Summary:[/B] Trying to optimize perk cards in a computer game I have a game where heroes have a set of traits, or abilities. The level of the abilities are raised in two ways, by banner cards and/or by leveling the hero. The Banner cards and heroes don't match perfectly, rather a banner card can match 1 or 2 (sometimes 3) abilities of the heroes abilities. Being... me, i wrote some lines of code that iterated trough the possible permutations to find the optimal permutation in terms of maximizing the ability outcome for the heroes. Now I wonder if there is a way of using optimization to solve similar problems. The setup is as follows, Hero 1 : A, D, F, R Hero 2 : B,D,E,S Hero 3 : A,E,R,T Etc.. Banner Card 1 : A,B,C,D Banner card 2 : A,F,R,E etc... Edit, I'm interested in optimization in terms of maximum number ability matching between heroes and banner cards. [/QUOTE]
Insert quotes…
Post reply
Forums
Mathematics
General Math
Optimizing permutations of hero traits in a computer game
Back
Top