chaitu236 / TakWeb

Javascript based Tak client
https://www.playtak.com
GNU General Public License v2.0
40 stars 18 forks source link

Enhanced showing of the current move #51

Open ghost opened 8 years ago

ghost commented 8 years ago

If you aren't staring at the board when your opponent makes a move it may be hard to notice where they moved. Similarly, if you are watching a game it can be easy to miss a move. Of course, you can use the notation window to bounce back and forth, but it would be nice if there were a way to make the most recent move more visible.

I realize there are difficulties with this. If a stone/stack is being moved, do you show where it's moving from or only where the pieces end up?

Desired Traits of the feature:

TreffnonX commented 8 years ago

I thought about that same thing a couple of times. I do esaxtly what you describe, I go back one plie to find the change. In my fork you can highlight tiles with Shift-leftclick. Maybe something of the sort (more subtle - and with a pickable color).

chaitu236 commented 8 years ago

Yes, I also think we need this feature. Highlighting just the squares like TreffnonX would be one way. How about highlighting the pieces that moved by making them darker or lighter?? I think that'd be more subtle and less distracting but would involve more work.

ghost commented 8 years ago

It's actually a pretty subtle problem, as I'm sure you are aware. Do you simply indicate the squares that were involved in the move, or the actual pieces? If you only highlight the squares involved what if the squares are obscured by pieces? Do you distinguish between dropping a new piece on the board vs. moving a piece from one square/stack to an open square?

It would be cool to "animate" the move. Especially nice for a stack move. But I sure don't want to try to program that. If someone could make that happen, then I'd suggest that the app play a sound ("ting") to indicate a move is about to happen, then the animation happens a second later, with a nice wooden click sound each time a piece/stack is placed on a square.

Of course, that's even more problematic if the players are faster than the animation, and the animation gets behind.

Ignore my musings... simple is probably best.

BTW, I've basically dropped out of spending any time on this as I'm busy getting a new business up and running and need to focus on it. Working on PlayTak was a nice diversion getting my brain back into programming, which I've not done for awhile. Thanks for letting me participate. I do check on PlayTak every once in awhile, and like the things you are doing.

chaitu236 commented 8 years ago

I'm planning to highlight squares for piece placement and highlight pieces for piece move. If squares are obscured its a bit problematic.. need to think this through.

I'm not a fan of animations - makes it look amateurish.

All the best for your new business. Hope you can drop in for occasional games and suggestions. Thanks for your code contributions.

ghost commented 8 years ago

Yea, the animations might look cheesy, but I'm sure it would help make some stack moves clearer.

Thanks. And I will keep checking on the site to see how things are going. I enjoy the face-to-face game best, but at times my partner and I want to go back to a previous position to see whether a different course of action might have had better success... more than a couple of moves back can be difficult to recreate, especially if a stack move were involved. The digital game would make that easier.

I wish we could have the best of both worlds. Maybe someone could create a camera based app that would "watch" a game and digitally record the moves. :-)

On Sat, Jul 23, 2016 at 10:31 AM, Chaitanya Vadrevu < notifications@github.com> wrote:

I'm planning to highlight squares for piece placement and highlight pieces for piece move. If squares are obscured its a bit problematic.. need to think this through.

I'm not a fan of animations - makes it look amateurish.

All the best for your new business. Hope you can drop in for occasional games and suggestions. Thanks for your code contributions.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chaitu236/TakWeb/issues/51#issuecomment-234727252, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVLPvySdmLDNle4YTiLmaQaepF5dPjJks5qYkHugaJpZM4IqAqW .

TreffnonX commented 8 years ago

Image analysis cna be both tough and brittle though. It wouldn't be very reliable, even under ideal circumstances. I suggest a scratch board to keep track of games. In a live event where two people play in person, I'd have a person just copy every move on a pad and then submit it online. Yet another possibility to expand the platform.

ghost commented 8 years ago

Yea, I wasn't really suggesting that. But it might make for a good phd project.

On Jul 30, 2016 6:19 AM, "TreffnonX" notifications@github.com wrote:

Image analysis cna be both tough and brittle though. It wouldn't be very reliable, even under ideal circumstances. I suggest a scratch board to keep track of games. In a live event where two people play in person, I'd have a person just copy every move on a pad and then submit it online. Yet another possibility to expand the platform.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/chaitu236/TakWeb/issues/51#issuecomment-236362337, or mute the thread https://github.com/notifications/unsubscribe-auth/ABVLPtO25xf4P1Xh7DQVq8Hq8BTC-WVaks5qa0FcgaJpZM4IqAqW .