Hello everybody,
I have a problem. For an university project we have to develop an application for the knapsack-problem in short time but nobody in our group got experiences in developing
Please excuse my bad English, I try to explain what we’ve got to do.
If you take a look on the Screenshot, you’ll see one big bag and 18 small monetary pockets. This is everything what we’ve got at this moment.
Every monetary pocket has a cash value and a weight. This information should appear in a box next to while someone clicks on the respective monetary pocket.
Now, the monetary pockets should be stowed away in the big bag and disappear afterwards.
Under the big bag should be two high scores faded in. One high score for the cash value and another high score for the weight.
The wrapped up cash value are added up in the first high score. The wrapped up weights will be drawn off from a value X (e.g. 2 lb).
If it’s impossible to take an other monetary pocket into the big bag (backpack is almost full - score near 0), the game will be over.
I hope you understand what we’ve got to do and can help us with regards to the source code.
Thanks and dear greetings
Dominik