Description | ******************* * PipeMaster B10L * *******************
by FeCO, 2024
Basic10Liner Contest, Extrem-256 Category
Commodore 16/116/232/Plus4
First, choose 1 or 2 players.
Connect the pipes using new items from stock (limited), or resue items on the field if available. Beware, you also have time limit!
Keys (displayed): X-round, (1...5) objects from stock, E (on 18-20th field) teleport the item/jump to the other field.
R - when you finished the field.
Program Lines:
0 - Set number 1/2 player, pipe elements (C$(1-5), empty (0), block (6), arrays (i(x,y) pipe types, j(x,y)-irany, field elements: H - min -> L max (c$() 0-empt 1-5 pipes, 6 block)
1 - Set Colors, Set 19(+1 - double field) fields+reader, O=21-end of first round, E - number of stock element, T-element types (1-curve,2-straight... 5-cross)
2 - Set the level on actual round (o - 1-20) H(O)->T(o) set the in and out pipes, draw the playfields and the stock (T, types and amount)
3 - At the end of the round (O<22, D>158) switch to another field when two player mode set. Then (O=21) reset the round counder with less time to complete the fields (n), reset the settings, else made the field "background" (i(x,y)+j(x,y). Q=0 left, Q=11 right side. is i>5 then the item is a solid brick (and cannot move through)
4 - Set the start coordinates (X=.. Y=1), show Pipe Master logo, then ask you can complete the field (OK?). It will necessary to check from 16-17th field. Press "n" if you would like another field (but nothing will changed in first fields). FORD...-start he game cycle, and show the time bar on the left color green then yellow(104-), then red (135-)
5 - First thing (D=1) show the keys, level and points of the actual player. Else, keyboard handling: move wasd, R- ready (D=157- end of the cycle), P- pause, X rotate, e teleport (o=18) on 18 th field.
6 - Set the next playfield start/end for next field (O>17, O=17) at the end of the actual play. Keyboard handling pt2: "E" jump at 19/20 field, 1-5 depends of the stock amount.
7 - The "field 19" switch to twin field (->20) if there is no move: blinking the cursor. Else: move.
8 - End of the cycle. So time is up, flooding, then check the pipes: is it completed the mission? If completed, the color switch to green then next level, rest of time and bonus points added. Else points shows then finished the game.
9 - Check the rotation status, draw the pipe(object) with sound. Add bonus points for the unused items at stock. Set tighter field (KK=1) after O15 fields. |
|