فهرست منبع

Merge branch 'development' of github.com:snaky-particles/snaky-particles into development

Kevin Heinicke 10 سال پیش
والد
کامیت
0f43e2f105
8فایلهای تغییر یافته به همراه7 افزوده شده و 2 حذف شده
  1. 6 1
      index.html
  2. 1 1
      js/controller.js
  3. BIN
      presentation/logo.png
  4. BIN
      presentation/pres.odt
  5. BIN
      presentation/snake-game.jpg
  6. BIN
      presentation/snaky.odp
  7. BIN
      presentation/snaky.pdf
  8. BIN
      presentation/start-button.jpeg

+ 6 - 1
index.html

@@ -19,7 +19,11 @@
   <script src="js/controller.js"></script>
 	<script src="js/script.js"></script>
   <script src="js/ng-app.js"></script>
-
+<script>
+window.onscroll = function () {
+window.scrollTo(0,0);
+}
+</script>
   <link rel="stylesheet" type="text/css" href="css/style.css">
   <link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
   <link rel="icon" href="img/favicon.ico" type="image/x-icon">
@@ -36,6 +40,7 @@
           <span class="icon-bar"></span>
           <span class="icon-bar"></span>
         </button>
+        <a class="navbar-brand" href="#"><img src="./img/logo.png" alt="logo" style="width:30px;height:30px;"></a>
         <a class="navbar-brand" href="#">Snaky Particles</a>
       </div>
 

+ 1 - 1
js/controller.js

@@ -1,6 +1,6 @@
 var Controller = function(){
 	this.grid_size = {x: 20, y: 20};
-	this.initial_length = 3;
+	this.initial_length = 1;
 	this.time_step = 400;
     this.maximum_spawns = 5;
 	this.collectibles = [];

BIN
presentation/logo.png


BIN
presentation/pres.odt


BIN
presentation/snake-game.jpg


BIN
presentation/snaky.odp


BIN
presentation/snaky.pdf


BIN
presentation/start-button.jpeg