CGI/Perl Guide | Learning Center | Forums | Advertise | Login Site Search: in Perl Guide PerlGuru Forums Learning Ctr

Home: Need a Custom or Prewritten Perl Program?: Throw Down The Gauntlet: Countdown numbers game solver that maintains order: Edit Log

Bananabean
New User

Oct 28, 2013, 3:45 AM

Views: 243434
 Countdown numbers game solver that maintains order
I am hoping for a very kind developer to make a target solver that maintains the order of its seed numbers.

The basis of this solver could be https://github.com/rvedotrc/numbers

Example 1
Target = 4085. Word = BRAVO. Known values: B = 7, R = 15, A = 3, V = 18, O = 5 entered in that order.
Solution = (B+RAV)O = (7 + 15 * 3 * 18) * 5 = 4085
Note that the target number should ideally be allowed to have more than 3 digits.

Example 2
Target = 3341. Word = CHARLIE. Known values: C = 25, H = 26, A = 3, R = 15, L = 9, I = 21, E = 2 entered in that order.
Solution = C+(H-A+RL)I-E = 25 + (26 - 3 + 15 * 9) * 21 - 2 = 3341
Note that there should ideally be up to 7 entered values.

The letters are not necessary but explain why I want this program.

I now have such a program so there is no need for any help.
Thank you for looking - more than 10000 have done so!

(This post was edited by Bananabean on Mar 3, 2014, 7:48 AM)

 Edit Log: Post edited by Bananabean (New User) on Jan 4, 2014, 3:04 PM Post edited by Bananabean (New User) on Mar 3, 2014, 7:48 AM: So many people!

 Search this forum this category all forums for All words Any words Whole Phrase (options) Powered by Gossamer Forum v.1.2.0