Design a game called jump it


Discuss the below:

Q: Design a game called Jump it.

It consists of a board of n integers rows. All containing positive integers except the first one always containing 0.

The object is to move from the first to the last column. With each jump the interger in the column is added to a sum. The goal is to move to the last column having the lowest sum. Moves consist of either moving to the adjacent column or skipping 2 cols and jumping to the next one.

The board consists of an array.

Examples:
0 - 3 - 80 - 6 - 57 - 10 ===> 3+6+10=19
0 - 3 - 5 - 4 - 1 - 10 ====> 5+1+10 =16.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Design a game called jump it
Reference No:- TGS01935764

Now Priced at $25 (50% Discount)

Recommended (92%)

Rated (4.4/5)