Weeds and Roses

7

was8bit 2023-04-11 04:23 (Edited)

Currently play is all manually done...

- touch, drag, and release to move a piece... if you are overtop an existing piece (meaning, dropping your piece will eliminate an existing piece on the board) a buzz will sound as a warning...

To manually remove a jumped piece, hold onto a piece for awhile without moving it...

... I'm currently way too tired to finish this into an fully functioning game... someday perhaps..

... this game is a variation of the board game "All the King's men" .... rules for my version are included at the top of the game code...

*note* the board is randomly generated each play, but is also symmetrically balanced, designed to be playable... but sometimes the board is quite difficult, so in that case just close and reload to get a new board....

This game, as it is, took me about 2 weeks, working on it 15 min. at a time here and there ...

Weeds and Roses.nx | Open in app
2023-04-11 04:23

was8bit 2023-04-11 04:32 (Edited)

To see the code in action that "reads" the arrows on the tiles on the actual screen (BG) find...

REM GOTO EXAMPLE

Delete the REM portion, which will run the example of that code... as you touch different pieces, it adds hightlights showing the available directions for possible movement based on the tiles as shown on the background...

It works by loading up that tile data as a pixel array, and reads 8 points where each arrrow may or may not be... ;)

To go back to playing the game manually, restore the REM in the code


was8bit 2023-04-11 04:38

https://boardgamegeek.com/boardgame/1289/all-kings-men


Log in to reply.