Update content of files

This commit is contained in:
GitHub Action 2022-09-09 19:55:52 +00:00
parent b590010d08
commit 1077356758

View file

@ -79,7 +79,7 @@ Clients should display the correct dice animated sticker for the specified value
Please note that dice animated stickers should loop only once, right after being sent/received <strong>for the first time</strong>; clicking on the dice sticker should bring up a popup, inviting the user to send a new dice of the same type. </p>
<h3><a class="anchor" href="#slot-machine" id="slot-machine" name="slot-machine"><i class="anchor-icon"></i></a>Slot machine</h3>
<p>Slot machine <img class="emoji" src="//telegram.org/img/emoji/40/F09F8EB0.png" width="20" height="20" alt="🎰" /> dice stickers are implemented a bit differently: the <code>value</code> isn't used to directly index the stickers array, but is instead used as follows. </p>
<p>The <code>value</code> is composed of three 2-bit values, each indicating the animated sticker to show in the three slots (left, center, right), incremented by one. </p>
<p>The <code>value</code> is composed of three 2-bit values, each indicating the animated sticker to show in the three slots, incremented by one. </p>
<p>The <code>stickers</code> array is composed as follows:</p>
<ul>
<li>0 =&gt; Slot machine background</li>
@ -100,7 +100,7 @@ Please note that dice animated stickers should loop only once, right after being
<li>Freeze single-frame background (<code>0</code>)</li>
<li>Play handle animation (<code>2</code>) once</li>
<li>Play the three spinning slots animations (<code>8</code>, <code>14</code>, <code>20</code>) once</li>
<li>Play the three slot animations once, chosen as follows<ul>
<li>Play the three slot animations once, chosen as follows:<ul>
<li>If we're in a winning <code>value == 64</code>:<ul>
<li>Left slot: choose <code>3</code></li>
<li>Center slot: choose <code>9</code></li>