-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathheartsjephly_heartsjephly.tpl
65 lines (45 loc) · 1.71 KB
/
heartsjephly_heartsjephly.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{OVERALL_GAME_HEADER}
<!--
--------
-- BGA framework: © Gregory Isabelli <[email protected]> & Emmanuel Colin <[email protected]>
-- heartsjephly 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.
-------
heartsjephly_heartsjephly.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="playertables">
<!-- BEGIN player -->
<div class="playertable whiteblock playertable_{DIR}">
<div class="playertablename" style="color:#{PLAYER_COLOR}">
{PLAYER_NAME}
</div>
<div class="playertablecard" id="playertablecard_{PLAYER_ID}">
</div>
</div>
<!-- END player -->
</div>
<div id="myhand_wrap" class="whiteblock">
<h3>{MY_HAND}</h3>
<div id="myhand">
</div>
</div>
<script type="text/javascript">
// Javascript HTML templates
/*
// Example:
var jstpl_some_game_item='<div class="my_game_item" id="my_game_item_${MY_ITEM_ID}"></div>';
*/
var jstpl_cardontable =
'<div class="cardontable" id="cardontable_${player_id}" style="background-position:-${x}px -${y}px"></div>';
</script>
{OVERALL_GAME_FOOTER}