Onitama
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
Here's a functional implementation:
https://onitama.app/#/
Although it will win no prizes for look and feel:
- -
The Android version is lovely, and, in terms of functionality what I particularly like
is that on selecting a card and a piece the possible moves that that piece can make are indicated:
-
https://onitama.app/#/
Although it will win no prizes for look and feel:
- -
The Android version is lovely, and, in terms of functionality what I particularly like
is that on selecting a card and a piece the possible moves that that piece can make are indicated:
-
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
Got to the stage where, on clicking a move card its custom properties are put into fields, as
well as the angle of the card.
'dots' (images x1 thru x25) are present above each position on the board (set to invisible)
ready to signal possible moves.
Hilighting via showBorder, borderColor and so on has been implemented for both the move
cards and the pieces.
- Attachments
-
- Onitama.livecode.zip
- Stack.
- (21.12 KiB) Downloaded 114 times
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
I had a 'dark night of the soul' 2 days ago and the one pupil who has not run off screaming to the seaside (well, just opted for side scrollers as their projects) got in fight with her father (who is now trying to compete with his daughter and me to finish this thing) over how to do things . . .
. . . so more coming in about 5-6 hours, promise, honest.
. . . so more coming in about 5-6 hours, promise, honest.

-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
So, I renamed the squares of the gameboard like this:
- -
and I renamed the 'blobs' similarly: x,1,1 x,1,2 . . . x,5,5
This will make setting possible move locations easier.
- -
and I renamed the 'blobs' similarly: x,1,1 x,1,2 . . . x,5,5
This will make setting possible move locations easier.
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
OK, OK: now, if one clicks on a piece the possible moves are marked (although why
2 clicks should be necessary is something I have not tracked down yet):
- -
There is still a long, long way to go.
I obviously have a version control problem as the stack I uploaded yesterday was an earlier recension.
I apologise for that.
Here is the one I mentioned in this posting.
2 clicks should be necessary is something I have not tracked down yet):
- -
There is still a long, long way to go.
I obviously have a version control problem as the stack I uploaded yesterday was an earlier recension.
I apologise for that.
Here is the one I mentioned in this posting.
- Attachments
-
- Onitama.livecode.zip
- Stack.
- (21.7 KiB) Downloaded 115 times
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
Fixed several troublesome points:
1. Red pieces will only register moves for the 2 cards at the bottom of the window.
2. Blue pieces will only register moves for the 2 cards at the top of the window.
3. Position blobs will always show ABOVE pieces.
- Attachments
-
- Onitama.livecode.zip
- Stack.
- (22.22 KiB) Downloaded 117 times
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
Next on the to-do list:
1. Set things up so when an end-user clicks on a move card it will mark possible moves on the board
for a selected piece.
-
1. Set things up so when an end-user clicks on a move card it will mark possible moves on the board
for a selected piece.
-
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
That has been implemented.
- Attachments
-
- Onitama.livecode.zip
- Stack.
- (24.13 KiB) Downloaded 119 times
-
- Livecode Opensource Backer
- Posts: 10095
- Joined: Fri Feb 19, 2010 10:17 am
Re: Onitama
Ach, well, ma nephew stapt by, an there's naethin tae exerceese the harns
like some byous roonds o a game, forbye.
Aiblins, eftir that, Ah mucht get ma harns in gear fae further wark.
