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

Bananabean
New User

Oct 28, 2013, 3:45 AM

Post #1 of 1 (241921 views)
 Countdown numbers game solver that maintains order Can't Post
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)

 Announcements     PerlGuru Announcements Perl Programming Help     Frequently Asked Questions     Beginner     Intermediate     Advanced     Regular Expressions     mod_perl     DBI     Win32 Programming Help Fun With Perl     Perl Quizzes - Learn Perl the Fun Way     Perl Golf     Perl Poetry Need a Custom or Prewritten Perl Program?     I need a program that...     I Need a Programmer for Freelance Work     Throw Down The Gauntlet General Discussions     General Questions     Feedback     Tutorial/Article Suggestions for The Learning Cent     Internet Security Other Programming Languages     Javascript     PHP

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