anchor.diff:    int x;
     int y;
   
  -  Random rnd  = new Random();
  +  Random rnd = new Random();
   
     Coord(int x, int y) {
       this.x = x;
  
positive.code:     int cwidth = canvas.canvas.width;
      int cheight = canvas.canvas.height;
  
      int cowidth = (cwidth / gridBlockSizeInPixels.getX()).round();
      int coheight = (cheight / gridBlockSizeInPixels.getY()).round();
  
      this.snake = new Snake(cowidth, coheight);
  
      // Clear canvas
      var gc = canvas.canvas.getContext('2d');
      canvas.fillStyle = white_color;
      canvas.fillRect(0, 0, cwidth, cheight);
  
      this.gold = new Gold(this.snake);
      this.speed = 10;
  
negative.code:     int dir = rand.nextInt(4);
      switch (dir) {
        case 0:
          return left;
        case 1:
          return right;
        case 2:
          return up;
        default:
          return down;
      }
    }
  
  