Commits

Shu Zong Chen  committed df944a8 Merge

blaasdlfkhas;dlfkhasdl;kfhasdf

  • Participants
  • Parent commits 464beae, e7f899d

Comments (0)

Files changed (76)

File public_html/static/img/body_basic.png

Old
Old image
New
New image

File public_html/static/img/body_basic_blue.png

Old
Old image
New
New image

File public_html/static/img/body_basic_green.png

Old
Old image
New
New image

File public_html/static/img/body_basic_red.png

Old
Old image
New
New image

File public_html/static/img/body_turn.png

Old
Old image
New
New image

File public_html/static/img/body_turn_blue.png

Old
Old image
New
New image

File public_html/static/img/body_turn_green.png

Old
Old image
New
New image

File public_html/static/img/body_turn_red.png

Old
Old image
New
New image

File public_html/static/img/food_blue.png

Old
Old image
New
New image

File public_html/static/img/food_green.png

Old
Old image
New
New image

File public_html/static/img/food_orange.png

Old
Old image
New
New image

File public_html/static/img/food_purple.png

Old
Old image
New
New image

File public_html/static/img/food_red.png

Old
Old image
New
New image

File public_html/static/img/food_yellow.png

Old
Old image
New
New image

File public_html/static/img/hd_dead.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_green.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_red.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_vertical.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_vertical_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_vertical_green.png

Old
Old image
New
New image

File public_html/static/img/hd_dead_vertical_red.png

Old
Old image
New
New image

File public_html/static/img/hd_eat.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_green.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_red.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_vertical.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_vertical_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_vertical_green.png

Old
Old image
New
New image

File public_html/static/img/hd_eat_vertical_red.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_green.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_red.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_vertical.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_vertical_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_vertical_green.png

Old
Old image
New
New image

File public_html/static/img/hd_grunt_vertical_red.png

Old
Old image
New
New image

File public_html/static/img/hd_happy.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_green.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_red.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_vertical.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_vertical_blue.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_vertical_green.png

Old
Old image
New
New image

File public_html/static/img/hd_happy_vertical_red.png

Old
Old image
New
New image

File public_html/static/img/poo_cap_blue.png

Old
Old image
New
New image

File public_html/static/img/poo_cap_green.png

Old
Old image
New
New image

File public_html/static/img/poo_cap_red.png

Old
Old image
New
New image

File public_html/static/img/poo_mid1_blue.png

Old
Old image
New
New image

File public_html/static/img/poo_mid1_green.png

Old
Old image
New
New image

File public_html/static/img/poo_mid1_red.png

Old
Old image
New
New image

File public_html/static/img/poo_mid2_blue.png

Old
Old image
New
New image

File public_html/static/img/poo_mid2_green.png

Old
Old image
New
New image

File public_html/static/img/poo_mid2_red.png

Old
Old image
New
New image

File public_html/static/img/poo_tcap_blue.png

Old
Old image
New
New image

File public_html/static/img/poo_tcap_green.png

Old
Old image
New
New image

File public_html/static/img/poo_tcap_red.png

Old
Old image
New
New image

File public_html/static/img/poo_turn_blue.png

Old
Old image
New
New image

File public_html/static/img/poo_turn_green.png

Old
Old image
New
New image

File public_html/static/img/poo_turn_red.png

Old
Old image
New
New image

File public_html/static/img/start_credits.png

Old
Old image
New
New image

File public_html/static/img/start_play.png

Old
Old image
New
New image

File public_html/static/img/tail_closed.png

Old
Old image
New
New image

File public_html/static/img/tail_closed_blue.png

Old
Old image
New
New image

File public_html/static/img/tail_closed_green.png

Old
Old image
New
New image

File public_html/static/img/tail_closed_red.png

Old
Old image
New
New image

File public_html/static/img/tail_tcap.png

Old
Old image
New
New image

File public_html/static/img/tail_tcap_blue.png

Old
Old image
New
New image

File public_html/static/img/tail_tcap_green.png

Old
Old image
New
New image

File public_html/static/img/tail_tcap_red.png

Old
Old image
New
New image

File public_html/static/img/tail_vertical.png

Old
Old image
New
New image

File public_html/static/img/tail_vertical_blue.png

Old
Old image
New
New image

File public_html/static/img/tail_vertical_green.png

Old
Old image
New
New image

File public_html/static/img/tail_vertical_red.png

Old
Old image
New
New image

File public_html/static/js/main.js

 
 	var SNAKE_START_LENGTH = 5;
 	var SNAKE_EMOTE_TIME = 3;
+	var POOP_WIGGLE = false;  //wiggles poop but slows down the game
 
 	var color_to_rgb = function(c){
 		switch(c){
 			this.render();
 		},
 		on_tick: function(){
+			if (POOP_WIGGLE) {
+			    this.render();
+			}
 		},
 		has_coords: function(i,j) {
 			if (i < 0 || i > GRID_HEIGHT - 1) {