-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtutorialuth_tutorialuth.tpl
41 lines (29 loc) · 1.24 KB
/
tutorialuth_tutorialuth.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{OVERALL_GAME_HEADER}
<!--
--------
-- BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
-- tutorialuth implementation : © <Your name here> <Your email address here>
--
-- This code has been produced on the BGA studio platform for use on http://boardgamearena.com.
-- See http://en.boardgamearena.com/#!doc/Studio for more information.
-------
tutorialuth_tutorialuth.tpl
This is the HTML template of your game.
Everything you are writing in this file will be displayed in the HTML page of your game user interface,
in the "main game zone" of the screen.
You can use in this template:
_ variables, with the format {MY_VARIABLE_ELEMENT}.
_ HTML block, with the BEGIN/END format
See your "view" PHP file to check how to set variables and control blocks
Please REMOVE this comment before publishing your game on BGA
-->
<div id="board">
<!-- BEGIN square -->
<div id="square_{X}_{Y}" class="square" style="left: {LEFT}px; top: {TOP}px;"></div>
<!-- END square -->
<div id="tokens"></div>
</div>
<script type="text/javascript">
const jstpl_token = '<div class="token tokenColor_${color}" id="token_${x_y}"></div>';
</script>
{OVERALL_GAME_FOOTER}