123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <html>
- <head>
- <title>Embark</title>
- <link rel="stylesheet" href="css/app.css">
- <script src="js/app.js"></script>
- </head>
- <body>
- <div class="container">
- <h3>Welcome to Embark!</h3>
- <p>See the <a href="https://github.com/iurimatias/embark-framework/wiki">Wiki</a> to see what you can do with Embark!</p>
- <div>
- Choose account :
- <select id="accselector">
- </select>
- </div>
- <div>
- Current Ethereum address : <span id="ethaddr">Loading...</span>
- </div>
- <div>
- Current Balance : <span id="ethbal">Loading...</span>
- </div>
- <div>
- Block Number : <span id="block"></span>
- </div>
- <br><br>
- <div>
- In match : <span id="inmatch"></span>
- </div>
- <div>
- Opponent Account : <span id="opponentHash"></span>
- </div>
- <div>
- My match Hash : <span id="matchhash"></span>
- </div>
- <div>
- My map : <span id="maphash"></span>
- </div>
- <div>
- <input type="text" value="" placeholder="Stake..." id="stakeTxt" />
- <button id="createMatchBtn">Create Match</button>
- </div>
- <div>
- <input type="text" value="" placeholder="Match Hash..." id="matchhashTxt" />
- <button id="joinMatchBtn">Join Match</button>
- </div>
- <div>
- <button id="showMapBtn">Show Map</button><button id="startGameBtn">Start Game/Show Game UI</button>
- </div>
- <br>
- <br>
- <div id="GameUI" class="hidden">
- <div>
- <div>
- Coins : <span id="mycoins"></span>
- </div>
- <div>
- OpCoins : <span id="opcoins"></span>
- </div>
- <div>
- Pot : <span id="pot"></span>
- </div>
- <div>
- Round : <span id="round"></span>
- </div>
- <div>
- myBets : <span id="mybets"></span>
- </div>
- <div>
- opBets : <span id="opbets"></span>
- </div>
- <div>
- mySum : <span id="mysum"></span>
- </div>
- <div>
- opSum : <span id="opsum"></span>
- </div>
- </div>
- <table class="table">
- <tbody >
- <tr>
- <td>
- <input type="text" id="columnForMe" placeholder="Column For Me!">
- </td>
- <td>
- <input type="text" id="columnForOp" placeholder="Column For Opponent!">
- </td>
- <td>
- <button id="sendSelectMoveBtn">Send SELECT Move</button>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" id="amount" placeholder="Amount to bet!">
- </td>
- <td></td>
- <td>
- <button id="sendBetMoveBtn">Send BET Move</button>
- </td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td>
- <button id="sendCallMoveBtn">Send CALL Move</button>
- </td>
- </tr>
- <tr>
- <td></td>
- <td></td>
- <td>
- <button id="sendFoldMoveBtn">Send FOLD Move</button>
- </td>
- </tr>
- <tr>
- <td>
- <input type="text" id="proofCol" placeholder="Proof For move!">
- </td>
- <td></td>
- <td>
- <button id="sendProofMoveBtn">Send Proof Move</button>
- </td>
- </tr>
- </tbody>
- </table>
- <table class="table text-center" id="mapTable">
- <tbody >
- </tbody>
- </table>
- </div>
- </div>
- </body>
- </html>
|