mirror of
https://gitlab.com/Oreolek/salet.git
synced 2024-07-07 01:04:25 +03:00
15 lines
354 B
CoffeeScript
15 lines
354 B
CoffeeScript
# This is where you initialize your game.
|
|
# All code in this file comes last, so the game is almost ready by this point.
|
|
|
|
player "Player"
|
|
money: 0
|
|
status: "Good"
|
|
|
|
undum.game.init = (character, system) ->
|
|
$("#ways").on("click", "a", (event) ->
|
|
event.preventDefault()
|
|
undum.processClick($(this).attr("href"))
|
|
)
|
|
|
|
window.onload = undum.begin
|