The Curling Game
编者注: This file was selected as MATLAB Central Pick of the Week
The Curling Game is a simulation of one end of a regulation curling match.
Play consists of delivering 16 stones (8 per player) down a sheet of ice. The player with a stone closest to the target wins the end. The winning player scores one point for each of their stones that is closer to the target than the opponent's first closest stone.
Instructions:
Place a stone in the starting spot (the hock) by clicking "Next Stone...". Then click in the yellow highlighted area to aim the shot. Next, use the sliders to adjust the initial forward speed and spin speed. Then click the "Go" button to deliver the stone.
While a stone is in motion, you may click on the "Sweep!" button to sweep the ice and alter the effects of friction on the stone. Repeated clicks create a greater effect.
引用格式
Corey Lagunowich (2024). The Curling Game (https://www.mathworks.com/matlabcentral/fileexchange/45761-the-curling-game), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!TheCurlingGame2014/
TheCurlingGame2018/
TheCurlingGame2014/
TheCurlingGame2018/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
2.0.0.0 | Version 2.0 contains both the 2014 and 2018 editions of the game. The latter edition requires Stateflow.
|
||
1.1.0.1 | Updated license |
||
1.1.0.0 | Converted to MATLAB Toolbox file format. |
||
1.0.0.0 |