Commit 30f55301 authored by christian's avatar christian

update files

parent a5801f57
......@@ -5,13 +5,13 @@
<title>CityGuess alpha</title>
<meta name="description" content="Guess the city by its skyline">
<link rel="stylesheet" href="css/main.css">
<script src="js/lib/modernizr-2.6.2.min.js"></script> <!--normal layout-->
<script src="js/lib/modernizr-2.6.2.min.js"></script>
<body id="body">
<div id="hint-text"><p></p></div>
<div id="player" class="player">
<img alt="play" id="play" src="" width="100" height="100" style="display:none;" />
<img alt="pause" id="pause" src="" width="100" height="100" style="display:none;" />
<img alt="play" id="play" src="img/play.png" width="100" height="100" style="display:none;" />
<img alt="pause" id="pause" src="img/pause.png" width="100" height="100" style="display:none;" />
<div id="container"><div class="progress"></div>
<div class="hide-container">
......@@ -20,14 +20,15 @@
<div class="slidebox"></div>
<div id="status-bar">
<div id="score"></div><div id="best"></div><div id="timer"></div>
<!-- <div id="score"></div><div id="best"></div> -->
<div id="timer"></div>
<div class="player-state"></div><button class="hint"></button>
<script src=""></script>
<script src="/js/TimeManager.js"></script>
<script src="/js/bind.js"></script>
<script src="/js/main.js"></script>
<script src=""></script>
<script src=""></script>
<script src=""></script>
\ No newline at end of file
/*global window, body, $, jQuery*/
/*jslint passfail: false, ass: true, nomen: true, sloppy: true, stupid: true, sub: true, vars: true, white: true */
/* ------------------------------------------------------------------------
Use: Main JavaScript file
Author: Christian Weiss
Author URI: || @eiweiss_online
Version: 0.0.2
------------------------------------------------------------------------- */
/* global window, body, $, jQuery */
* CityGuess
* simple game with Images from Flickr
* Version: 0.0.2
Score system - LocalStorage-Manager - Levels etc
function db() {
'use strict';
var x = arguments,
......@@ -292,7 +294,7 @@ CityGuess.prototype.createTiles = function (level) {
width: tileW,
height: tileH,
background: 'url(../img/disto.png) repeat',
background: 'url( repeat',
position: 'absolute',
border: '1px solid rgba(0,0,0, 0.035)',
top: nTop,
......@@ -353,4 +355,4 @@ CityGuess.prototype.togglePlay = function () {
$(document).ready(function () {
var el = document.getElementById('slider');
new CityGuess(el, 'big', TimeManager);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment