4 ms·
Nice game. > the move is applied automatically the moment the done does stone_width/2 in a free direction Shouldn't a move be complete when the stone bumps in
by pmontra 4y ago
Nice game.
> the move is applied automatically the moment the done does stone_width/2 in a free direction
Shouldn't a move be complete when the stone bumps into a wall and stops moving? I guess you already have the code to detect that event. You can hook the move counter there.
Keyboard navigation is definitely due on a computer. Select a stone with mouse and move with arrows or awsd. We can play two handed. It's much better on a phone now because we can throw stones to walls with a finger.
- kuboble 4y agoHi, It's that the animation and bumping is executed already when the stone does a short way - on a larger board it looks like this: https://i.gyazo.com/bd780834e5546a4d8f84791b0f619ebb.mp4 https://i.gyazo.com/bd780834e5546a4d8f84791b0f619ebb.mp4 But I see how it can be confusing when the path to travel is 1*stone_width. I don't have a good idea how to preserve the behavior on a bigger board and making it less confusing on a smaller one.