-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
19 lines (19 loc) · 1.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<head>
<title>Merchant</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/3.0.9/pixi.min.js" type="text/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/EventEmitter/4.3.0/EventEmitter.min.js" type="text/javascript"></script>
</head>
<body>
<canvas id="game" width="800" height="600"></canvas><br>
How to play: click a tile to remove it from the board. You will recieve as much money as it says on the bottom-right of the tile. Tiles can have special effects that are described below.<br><br>
Tiles:<br>
Brown: Bread, gives you +3 money.<br>
Gold: Gold Bar, gains +2 value each turn.<br>
Turquoise: Diamond, loses -3 value each turn. Doubles your money.<br>
White: Yarn, increases the value of adjacent tiles by 5.<br><br>
Current seed: <span id="seed">none</span><input type="text" id="new" placeholder="Input new seed..."></input><button id="randomize">Randomize</button><br>
If the input box is left blank, it will generate the seed automatically.
<script src="game.js" type="text/javascript"></script>
</body>
</html>