HowardGriffin.org
Virtual Strategy Board Notes
Generic notes in no particular order
- If you drag a rock to an out-of-play position, such as touching a side line, it stays there, for teaching and illustration. If you strike a rock and the struck rock moves out-of-play, the rock is deleted.
- There is no keyboard interface, mouse or touch screen only.
- It will run on a touch screen device, such as a tablet or phone, but the phone is so small that it's difficult to drag rocks to where you want them. On my (older) phone it's a bit slow. Your mileage may vary.
- There is no double tap, it just does the same function twice
- There are defaults that may be interesting, and are located at the top of the code, in the first twenty lines.
- If you change the default number of rocks from eight to six (of each color), the reset button just re-loads the same doubles look. There's no way to go back to a regular eight rock game without editing the default again. I recommend that you leave it at eight.
- The doubles button just adds the necessary rocks and forces the doubles markers to be "on", even if you've turned them off in the defaults section. It does pre-positon two rocks.
- Clicking the doubles button again serves as a "toggle" between the regular doubles stone positioning and the power play stone positioning.
- If you want a rock out of the way, it can be parked on the far right edge.
- The new taggle (far right) says "Move" or "Push". The move option lets the struck rock move about three feet. The "Push" option has the struck rock being pushed around. It's easier to position rocks that are touching each other for demonstrations.
- I use Notepad++ as my editor of choice. Each tab is four characters, so your editor may display wider indents.
- Back to the main page.
History
Version 1.0 Written in June, 2013 by Howard Griffin - Potomac Curling Club
Version 1.2 Updated October 2016 to add mixed doubles "power play" points
Version 1.3 Updated October 2021 to be able to turn on/off mixed doubles markers
Version 2.0 Written in the summer of 2025, a total rewrite
Version 3.0 Updated in February 2026, to change the way rocks behave when struck
Sadly the kineticjs.com site, including the tutorial, is now abandoned. I used kinetic.js for version one, but wanted changes that I couldn't figure out. The kineticjs code has been moved to:
https://github.com/ericdrowell/KineticJS
https://github.com/ericdrowell/concrete
The total rewrite in the summer of 2025 was to remove reference to kineticjs, to implement collison detection, to remove rocks once they are bumped to an "out-of-play" position, and finally to add an easy to use "mixed doubles" arrangement.For those nostalgic souls, the older Version 1 is still available, as is Version 2.