content/hifi-public/sam/2018-oct/CarrotHunt-11-5/CarrotHunt.html
Dale Glass 0d14e5a379 Initial data.
Needs a lot of cleanup. Data has been de-duplicated, and where identical copies existed, one of them
has been replaced with a symlink.

Some files have been excluded, such as binaries, installers and debug dumps. Some of that may still
be present.
2022-02-13 18:59:11 +01:00

51 lines
No EOL
12 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Carrot Hunt</title>
<link rel="stylesheet" type="text/css" href="shapes.css" />
</head>
<body>
<h1>Carrot Hunt</h1>
<hr />
<div id="icon" class="off">
<svg height="30pt" viewBox="0 -5 512.00441 512" width="30pt" xmlns="http://www.w3.org/2000/svg"><path d="m464.125 296.039062c-.980469 0-1.957031-.050781-2.929688-.160156-15.066406-1.605468-25.027343-14.96875-35.566406-29.117187-9.691406-12.996094-19.710937-26.453125-34.15625-32.640625-24.535156-10.511719-87.433594-17.390625-88.066406-17.457032-3.265625-.351562-6.039062-2.550781-7.132812-5.640624-1.09375-3.097657-.308594-6.554688 2.015624-8.875 20.152344-20.15625 106.902344-41.480469 153.503907-26.214844 28.074219 9.207031 48.042969 30.488281 53.402343 56.925781 4.113282 20.265625-1.117187 39.644531-13.644531 50.578125-9.6875 8.457031-18.695312 12.601562-27.425781 12.601562zm-65.929688-77.601562c18.671876 8.003906 30.59375 24.003906 41.121094 38.136719 8.253906 11.066406 16.042969 21.519531 23.699219 22.339843 4.582031.46875 10.417969-2.3125 17.332031-8.355468 7.789063-6.792969 10.988282-20.265625 8.140625-34.3125-1.980469-9.769532-10.046875-33.613282-41.996093-44.097656-31.988282-10.488282-85.535157-1.050782-115.90625 10.835937 21.476562 3.15625 51.292968 8.457031 67.609374 15.453125zm0 0"/><path d="m304.328125 216.714844c-.945313 0-1.902344-.164063-2.832031-.488282-3.097656-1.089843-5.300782-3.863281-5.648438-7.132812-.070312-.628906-6.957031-63.554688-17.460937-88.070312-6.195313-14.441407-19.632813-24.457032-32.640625-34.152344-14.148438-10.539063-27.5-20.488282-29.113282-35.566406-1.035156-9.644532 3.035157-19.566407 12.449219-30.363282 10.921875-12.523437 30.300781-17.738281 50.578125-13.652344 26.433594 5.367188 47.71875 25.335938 56.925782 53.410157 15.273437 46.585937-6.050782 133.34375-26.207032 153.507812-1.636718 1.636719-3.824218 2.507813-6.050781 2.507813zm-38.117187-193.714844c-10.15625 0-19.125 3.269531-24.269532 9.164062-6.03125 6.914063-8.839844 12.742188-8.34375 17.332032.816406 7.644531 11.28125 15.445312 22.347656 23.6875 14.121094 10.523437 30.128907 22.453125 38.136719 41.113281 6.988281 16.316406 12.292969 46.132813 15.453125 67.617187 11.886719-30.378906 21.316406-83.921874 10.828125-115.898437-10.480469-31.949219-34.328125-40.011719-44.101562-41.992187-3.421875-.683594-6.792969-1.023438-10.050781-1.023438zm0 0"/><path d="m493.589844 232.390625c-.433594 0-.878906-.035156-1.316406-.101563-2.976563-.46875-5.492188-2.476562-6.601563-5.273437-6.519531-16.34375-20.4375-28.722656-39.179687-34.867187-29.003907-9.507813-80.648438-2.304688-113.832032 10.171874-3.839844 1.421876-8.167968-.050781-10.300781-3.566406-2.132813-3.507812-1.457031-8.03125 1.597656-10.78125 26.589844-23.875 70.707031-51.042968 104.71875-54.3125 29.433594-2.832031 56.226563 8.660156 71.75 30.738282 11.894531 16.910156 14.871094 36.769531 7.78125 51.796874-2.484375 5.253907-5.113281 9.539063-8.039062 13.089844-1.628907 1.980469-4.050781 3.105469-6.578125 3.105469zm-80.519532-61.636719c14.285157 0 27.679688 1.570313 38.730469 5.179688 17.894531 5.871094 32.367188 16.410156 41.992188 30.363281 2.894531-9.167969.171875-21.410156-7.328125-32.078125-5.734375-8.148438-22.691406-26.761719-56.148438-23.570312-17.621094 1.691406-39.714844 11.511718-60.007812 24.082031 14.171875-2.507813 28.886718-3.976563 42.761718-3.976563zm0 0"/><path d="m318.808594 189.597656c-1.492188 0-2.992188-.394531-4.351563-1.207031-3.523437-2.089844-5.066406-6.390625-3.660156-10.246094 11.808594-32.488281 19.175781-82.816406 9.566406-112.121093-6.230469-19.003907-18.84375-32.988282-35.523437-39.398438-2.816406-1.082031-4.855469-3.574219-5.351563-6.550781-.496093-2.980469.605469-5.992188 2.917969-7.945313 3.609375-3.039062 7.996094-5.769531 13.414062-8.328125 15.035157-7.09375 34.894532-4.113281 51.816407 7.78125 22.066406 15.511719 33.550781 42.332031 30.726562 71.738281-3.207031 33.46875-29.003906 76.035157-53.136719 103.375-1.679687 1.894532-4.035156 2.902344-6.417968 2.902344zm17.769531-128.890625c7.019531 21.4375 6.398437 51.40625 1.566406 79.667969 12.007813-19.566406 21.523438-40.96875 23.222657-58.675781 3.207031-33.464844-15.40625-50.414063-23.5625-56.148438-10.742188-7.550781-23.066407-10.25-32.253907-7.277343 14.273438 9.605468 25.050781 24.234374 31.027344 42.433593zm0 0"/><path d="m304.328125 216.714844c-2.183594 0-4.359375-.835938-6.03125-2.492188-3.335937-3.335937-3.335937-8.730468-.007813-12.074218 1.789063-1.792969 6.59375-7.722657 12.523438-24.089844.367188-1.007813.914062-1.9375 1.632812-2.738282 21.570313-24.433593 46.085938-64.15625 48.910157-93.621093.316406-3.285157.386719-6.621094.207031-10.519531-.128906-2.808594 1.144531-5.503907 3.378906-7.195313 23.628906-17.851563 57.234375-15.503906 78.15625 5.417969 20.71875 20.710937 23.203125 54.101562 5.785156 77.664062-1.707031 2.3125-4.417968 3.644532-7.320312 3.445313-4.234375-.246094-7.816406-.179688-11.265625.144531-28.78125 2.757812-69.503906 27.242188-94.863281 50-.792969.707031-1.707032 1.261719-2.707032 1.636719-15.027343 5.632812-20.625 10.179687-22.347656 11.90625-.007812.007812-.015625.015625-.027344.023437-1.652343 1.664063-3.839843 2.492188-6.023437 2.492188zm21.984375-31.316406c-.105469.273437-.207031.546874-.308594.816406 26.75-23.421875 69.539063-49.371094 102.679688-52.546875 2.867187-.273438 5.777344-.390625 8.875-.367188 9.738281-16.484375 7.238281-38.074219-6.519532-51.832031-13.941406-13.949219-35.753906-16.304688-52.316406-6.238281 0 2.824219-.128906 5.515625-.375 8.109375-3.15625 32.9375-28.230468 74.699218-52.035156 102.058594zm0 0"/><path d="m343.386719 349.894531c-3.132813 0-6.433594-.359375-9.867188-1.082031-9.90625-2.09375-20.195312-5.394531-30.589843-9.804688-4.335938-1.84375-6.359376-6.855468-4.515626-11.1875 1.84375-4.335937 6.851563-6.382812 11.195313-4.515624 9.378906 3.984374 18.613281 6.945312 27.4375 8.804687 7.183594 1.511719 12.808594.625 15.855469-2.472656 3.292968-3.371094 8.703125-3.421875 12.0625-.136719 3.371094 3.292969 3.433594 8.703125.136718 12.066406-5.367187 5.488282-12.882812 8.328125-21.714843 8.328125zm0 0"/><path d="m179.324219 222.054688c-3.019531 0-5.949219-1.601563-7.492188-4.445313-9.25-16.902344-15.640625-33.570313-19.003906-49.507813-2.757813-13.101562-.1875-24.3125 7.246094-31.574218 3.371093-3.304688 8.769531-3.234375 12.066406.136718 3.292969 3.378907 3.230469 8.773438-.136719 12.066407-3.117187 3.035156-3.996094 8.675781-2.476562 15.855469 3.019531 14.300781 8.832031 29.386718 17.28125 44.839843 2.261718 4.132813.742187 9.320313-3.398438 11.574219-1.304687.722656-2.703125 1.054688-4.085937 1.054688zm0 0"/><path d="m150.046875 311.648438c-2.664063 0-5.28125-1.246094-6.945313-3.566407-14.816406-20.6875-26.378906-43.648437-33.453124-66.414062-1.398438-4.5 1.117187-9.285157 5.617187-10.683594 4.503906-1.382813 9.28125 1.117187 10.683594 5.613281 6.535156 21.050782 17.261719 42.324219 31.027343 61.550782 2.746094 3.832031 1.859376 9.15625-1.972656 11.914062-1.5 1.074219-3.234375 1.585938-4.957031 1.585938zm0 0"/><path d="m184.921875 426.523438c-1.082031 0-2.183594-.203126-3.25-.648438-15.496094-6.398438-30.132813-14.652344-43.496094-24.53125-3.789062-2.800781-4.589843-8.144531-1.792969-11.929688 2.800782-3.78125 8.140626-4.609374 11.941407-1.785156 12.234375 9.046875 25.648437 16.605469 39.855469 22.484375 4.355468 1.792969 6.425781 6.785157 4.625 11.144531-1.355469 3.285157-4.539063 5.265626-7.882813 5.265626zm0 0"/><path d="m279.042969 384.863281c-1.082031 0-2.191407-.203125-3.257813-.648437-18.867187-7.796875-36.660156-20.042969-45.59375-26.640625-3.789062-2.796875-4.589844-8.140625-1.792968-11.929688 2.808593-3.769531 8.140624-4.597656 11.9375-1.78125 14.125 10.433594 29.414062 19.394531 41.96875 24.589844 4.351562 1.800781 6.425781 6.792969 4.625 11.144531-1.355469 3.285156-4.53125 5.265625-7.886719 5.265625zm0 0"/><path d="m96.867188 352.871094c-2.875 0-5.683594-1.449219-7.296876-4.085938-5.769531-9.445312-10.503906-19.320312-14.089843-29.320312-1.585938-4.445313.726562-9.328125 5.164062-10.90625 4.429688-1.605469 9.328125.726562 10.914063 5.15625 3.183594 8.90625 7.425781 17.714844 12.585937 26.179687 2.457031 4.019531 1.1875 9.273438-2.839843 11.722657-1.390626.855468-2.929688 1.253906-4.4375 1.253906zm0 0"/><path d="m69.585938 428.410156c-2.433594 0-4.847657-1.03125-6.539063-3.039062-8.839844-10.503906-15.128906-22.902344-18.703125-36.8125-1.167969-4.566406 1.578125-9.214844 6.144531-10.394532 4.566407-1.195312 9.214844 1.589844 10.382813 6.144532 2.9375 11.425781 8.066406 21.546875 15.242187 30.082031 3.03125 3.609375 2.570313 8.992187-1.042969 12.023437-1.601562 1.339844-3.546874 1.996094-5.484374 1.996094zm0 0"/><path d="m238.304688 332.066406c-.40625 0-.816407-.03125-1.234376-.09375-7.757812-1.148437-48.367187-19.914062-55.390624-55.039062-.921876-4.625 2.074218-9.113282 6.691406-10.042969 4.625-.945313 9.113281 2.066406 10.042968 6.691406 4.855469 24.300781 35.488282 40.164063 41.378907 41.546875 4.453125 1.042969 7.523437 5.46875 6.664062 9.960938-.777343 4.078125-4.148437 6.976562-8.152343 6.976562zm0 0"/><path d="m312.757812 261.652344c-.40625 0-.816406-.035156-1.234374-.09375-7.757813-1.152344-48.367188-19.925782-55.390626-55.042969-.921874-4.625 2.074219-9.113281 6.691407-10.042969 4.632812-.945312 9.113281 2.066406 10.042969 6.691406 4.855468 24.292969 35.488281 40.167969 41.378906 41.546876 4.453125 1.050781 7.523437 5.472656 6.664062 9.960937-.777344 4.078125-4.148437 6.980469-8.152344 6.980469zm0 0"/><path d="m14.296875 501.507812c-3.703125 0-7.328125-1.460937-10.085937-4.207031-4.21484425-4.21875-5.382813-10.472656-2.96875-15.917969l142.746093-322.480468c9.796875-22.144532 30.300781-37.597656 53.511719-40.355469 35.378906-4.171875 70.339844 2.738281 101.136719 20.019531l3.34375 1.878906.820312 3.746094c4.632813 21.230469 7.824219 44.925782 9.226563 56.300782 10.273437 1.253906 30.617187 3.984374 50.148437 7.929687l4.191407.851563 1.832031 3.867187c12.964843 27.382813 18.167969 57.878906 15.054687 88.226563-.179687 23.285156-14.003906 44.378906-35.328125 53.816406l-327.792969 145.078125c-1.894531.835937-3.871093 1.246093-5.835937 1.246093zm203.222656-367.070312c-5.972656 0-11.988281.347656-18.015625 1.066406-17.246094 2.039063-32.535156 13.660156-39.910156 30.300782l-139.859375 315.972656 321.269531-142.199219c15.292969-6.777344 25.175782-21.949219 25.175782-38.671875l.050781-.890625c2.730469-25.949219-1.316407-52.027344-11.691407-75.699219-25.054687-4.792968-50.859374-7.609375-51.125-7.644531l-6.824218-.742187-.742188-6.828126c-.035156-.3125-3.355468-30.625-8.917968-57.46875-21.503907-11.367187-45.160157-17.195312-69.410157-17.195312zm0 0"/></svg>
<p id="label">Carrot Hunt</p>
</div>
<p class="blurb">Go Carrot Hunting! Works both in VR and desktop. It is more fun to play with friends:) </p>
<input type="button" id="carrothunt-button" value="Toggle on/off Carrot Hunt Game" />
<h2>How to play the Carrot Hunt Game</h2>
<ul>
<li>Turn the app on, spawn a game play field</li>
<li>Stand close to a carrot and trigger / click to check them out (left click on desktop, laser trigger in VR)</li>
<li> The bad carrots will shoot player out of the field. The player who got the winner carrot can declare victory. </li>
</ul>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script>
console.log("I AM HERE");
function main() {
console.log("Carrot Hunt HTML ready");
$("#carrothunt-button").click(function(){
console.log(this.value + " button pressed");
var toggleEvent = {
"carrotHunt": "toggleGame",
};
EventBridge.emitWebEvent(JSON.stringify(toggleEvent));
});
}
$(document).ready(main);
</script>
</body>
</html>