Commit | Line | Data |
---|---|---|
053b0711 BA |
1 | <!-- TODO: click : on image (show computer move on same image) + show network-matrix on the right (top-bottom, 5 per row) --> |
2 | ||
3 | <div id="rpsls"> | |
4 | <input id="drawIsLost" type="checkbox" v-model="drawIsLost"> | |
5 | <label for="drawIsLost"> Draw count as loss ?</label> | |
6 | <input id="nInput" type="number" v-model="nInput" @change="reinitialize()"> | |
7 | <label for="nInput">Number of inputs</label> | |
8 | <input id="humanMove" type="number" v-model="humanMove" @change="play()"> | |
9 | <label for="humanMove">Move ?</label> | |
10 | <input id="gameState" type="number" v-model="gameState" disabled> | |
11 | <label for="gameState">Score of computer</label> | |
12 | </div> | |
13 | ||
977c11c8 BA |
14 | <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.13/vue.js"></script> |
15 | <script src="./rpsls.js"></script> |