aboutsummaryrefslogtreecommitdiffstats
path: root/index.xhtml
diff options
context:
space:
mode:
authoralexichi <alexbankai96@gmail.com>2016-05-05 23:06:29 +0200
committeralexichi <alexbankai96@gmail.com>2016-05-05 23:09:21 +0200
commitf171811a44364f605712aff1ca0808bfe570ef6e (patch)
treea970a69853e19ef43d97c2f48d61a6fb34637ff6 /index.xhtml
parent1efc4a15c8ab913bf8bdb1aef9f3b5720b3b7762 (diff)
downloadcandybox-f171811a44364f605712aff1ca0808bfe570ef6e.tar.gz
candybox-f171811a44364f605712aff1ca0808bfe570ef6e.tar.bz2
candybox-f171811a44364f605712aff1ca0808bfe570ef6e.tar.xz
candybox-f171811a44364f605712aff1ca0808bfe570ef6e.zip
add xp system and perso server side
Diffstat (limited to 'index.xhtml')
-rw-r--r--index.xhtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/index.xhtml b/index.xhtml
index ed3e7a6..7921cab 100644
--- a/index.xhtml
+++ b/index.xhtml
@@ -17,6 +17,7 @@
<script type="text/javascript" charset="utf-8" src="js/gui.js"></script>
<script type="text/javascript" charset="utf-8" src="js/dungeon.js"></script>
<script type="text/javascript" charset="utf-8" src="js/savegame.js"></script>
+ <script type="text/javascript" charset="utf-8" src="js/perso.js"></script>
</head>
<body onload="init()" onhashchange="changeTab()">
<div class="container-fluid">
@@ -24,6 +25,9 @@
<h1>CraftMine</h1>
</div>
<div class="row">
+ <span id="perso">HP : <span id="hp">5</span>/ LV : <span id="lv">1</span>/ exp : <span id="xp">0</span></span>
+</div>
+<div class="row">
<div class="col-md-4">
<div class="row">
<div class="col-md-10">