diff --git a/.gitignore b/.gitignore
index baadd77..7b1e1a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,3 @@
.DS_Store
package-lock.json
-node_modules
\ No newline at end of file
+node_modules
diff --git a/LICENSE b/LICENSE
index 9bf5892..3dfe4a8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2018 Deniss
+Copyright (c) 2018 Deniss Dubinin
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/dist/sudoku.min.css b/dist/sudoku.min.css
index 64073f1..769042b 100644
--- a/dist/sudoku.min.css
+++ b/dist/sudoku.min.css
@@ -1,4 +1,4 @@
-/*! Javascript Sudoku v1.0.0 by Deniss Dubinin - https://github.com/denissdubinin/Javascript-Sudoku - Licensed MIT */
+/*! Javascript Sudoku v1.1.2 by Deniss Dubinin - https://github.com/denissdubinin/Javascript-Sudoku - Licensed MIT */
-.sudoku{margin:0 auto;position:relative;width:370px}.sudoku.loading::after{background:#fff;content:'';cursor:not-allowed;display:block;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.sudoku table{width:370px;height:370px}.sudoku .sudoku-cell{text-align:center;padding:0}.sudoku .sudoku-cell.invalid-cell input{background:#f9d4d4}.sudoku tr:nth-of-type(3n){border-bottom:2px solid #c5c5c5}.sudoku tr:last-of-type{border-bottom:none}.sudoku td:nth-of-type(3n){border-right:2px solid #c5c5c5}.sudoku td:last-of-type{border-right:none}.sudoku input{border:0;height:100%;text-align:center;width:100%}.sudoku input:disabled{background:#f5f5f5;cursor:not-allowed}.sudoku input.timer-disabled{cursor:not-allowed}
+.sudoku{margin:0 auto;position:relative;width:370px}.sudoku.loading::after{background:#fff;content:'';cursor:not-allowed;display:block;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.sudoku table{height:370px;position:relative;width:370px}.sudoku table .success-overlay{background:rgba(85,216,85,0.25);height:100%;position:absolute;top:0;width:100%}.sudoku .sudoku-cell{padding:0;text-align:center}.sudoku .sudoku-cell.invalid-cell input{background:#f9d4d4}.sudoku tr:nth-of-type(3n){border-bottom:2px solid #c5c5c5}.sudoku tr:last-of-type{border-bottom:none}.sudoku td:nth-of-type(3n){border-right:2px solid #c5c5c5}.sudoku td:last-of-type{border-right:none}.sudoku input{border:0;height:100%;text-align:center;width:100%}.sudoku input:disabled{background:#f5f5f5;cursor:not-allowed}.sudoku input.timer-disabled{cursor:not-allowed}
/*# sourceMappingURL=sudoku.min.css.map */
diff --git a/dist/sudoku.min.css.map b/dist/sudoku.min.css.map
index 3b07b48..26a47e5 100644
--- a/dist/sudoku.min.css.map
+++ b/dist/sudoku.min.css.map
@@ -1,6 +1,6 @@
{
"version": 3,
-"mappings": "AAAA,OAAQ,CACJ,MAAM,CAAE,MAAM,CACd,QAAQ,CAAE,QAAQ,CAClB,KAAK,CAAE,KAAK,CAEZ,sBAAiB,CACb,UAAU,CAAE,IAAI,CAChB,OAAO,CAAE,EAAE,CACX,MAAM,CAAE,WAAW,CACnB,OAAO,CAAE,KAAK,CACd,MAAM,CAAE,IAAI,CACZ,IAAI,CAAE,CAAC,CACP,OAAO,CAAE,EAAE,CACX,QAAQ,CAAE,QAAQ,CAClB,GAAG,CAAE,CAAC,CACN,KAAK,CAAE,IAAI,CAGf,aAAM,CACF,KAAK,CAAE,KAAK,CACZ,MAAM,CAAE,KAAK,CAGjB,oBAAa,CACT,UAAU,CAAE,MAAM,CAClB,OAAO,CAAE,CAAC,CAEV,uCAAqB,CACjB,UAAU,CAAE,OAAO,CAKvB,0BAAkB,CACd,aAAa,CAAE,iBAAiB,CAGpC,uBAAe,CACX,aAAa,CAAE,IAAI,CAKvB,0BAAkB,CACd,YAAY,CAAE,iBAAiB,CAGnC,uBAAe,CACX,YAAY,CAAE,IAAI,CAI1B,aAAM,CACF,MAAM,CAAE,CAAC,CACT,MAAM,CAAE,IAAI,CACZ,UAAU,CAAE,MAAM,CAClB,KAAK,CAAE,IAAI,CAEX,sBAAW,CACP,UAAU,CAAE,OAAO,CACnB,MAAM,CAAE,WAAW,CAGvB,4BAAiB,CACb,MAAM,CAAE,WAAW",
+"mappings": "AAAA,OAAQ,CACJ,MAAM,CAAE,MAAM,CACd,QAAQ,CAAE,QAAQ,CAClB,KAAK,CAAE,KAAK,CAEZ,sBAAiB,CACb,UAAU,CAAE,IAAI,CAChB,OAAO,CAAE,EAAE,CACX,MAAM,CAAE,WAAW,CACnB,OAAO,CAAE,KAAK,CACd,MAAM,CAAE,IAAI,CACZ,IAAI,CAAE,CAAC,CACP,OAAO,CAAE,EAAE,CACX,QAAQ,CAAE,QAAQ,CAClB,GAAG,CAAE,CAAC,CACN,KAAK,CAAE,IAAI,CAGf,aAAM,CACF,MAAM,CAAE,KAAK,CACb,QAAQ,CAAE,QAAQ,CAClB,KAAK,CAAE,KAAK,CAEZ,8BAAiB,CACb,UAAU,CAAE,oBAAsB,CAClC,MAAM,CAAE,IAAI,CACZ,QAAQ,CAAE,QAAQ,CAClB,GAAG,CAAE,CAAC,CACN,KAAK,CAAE,IAAI,CAInB,oBAAa,CACT,OAAO,CAAE,CAAC,CACV,UAAU,CAAE,MAAM,CAElB,uCAAqB,CACjB,UAAU,CAAE,OAAO,CAKvB,0BAAkB,CACd,aAAa,CAAE,iBAAiB,CAGpC,uBAAe,CACX,aAAa,CAAE,IAAI,CAKvB,0BAAkB,CACd,YAAY,CAAE,iBAAiB,CAGnC,uBAAe,CACX,YAAY,CAAE,IAAI,CAI1B,aAAM,CACF,MAAM,CAAE,CAAC,CACT,MAAM,CAAE,IAAI,CACZ,UAAU,CAAE,MAAM,CAClB,KAAK,CAAE,IAAI,CAEX,sBAAW,CACP,UAAU,CAAE,OAAO,CACnB,MAAM,CAAE,WAAW,CAGvB,4BAAiB,CACb,MAAM,CAAE,WAAW",
"sources": ["../src/sudoku.scss"],
"names": [],
"file": "sudoku.min.css"
diff --git a/dist/sudoku.min.js b/dist/sudoku.min.js
index 7c26e32..12b537a 100644
--- a/dist/sudoku.min.js
+++ b/dist/sudoku.min.js
@@ -1,3 +1,3 @@
-/*! Javascript Sudoku v1.0.0 by Deniss Dubinin - https://github.com/denissdubinin/Javascript-Sudoku - Licensed MIT */
+/*! Javascript Sudoku v1.1.2 by Deniss Dubinin - https://github.com/denissdubinin/Javascript-Sudoku - Licensed MIT */
-"use strict";window.sudoku={Valve:"Trilogy"},function(window,$){$.fn.Sudoku=function(options){var defaults={squareSize:3,dropTimerOnReset:!0,markWrongCellsOnFly:!1,markWrongCellsOnFinish:!0,useTimer:!0,timerOnly:!0,useCustomButtons:!1,sudokuMixIterations:500},options=$.extend({},defaults,options),sudokuTimer;function create(o){o.addClass("sudoku"),generateGui(o),init()}function init(){toggleLoadingOverlay(!0),generateMatrix(),mixMatrix(),prepareEmptyMatrix(),fillGrid(),enableFields(!1)}function generateGui(o){options.useTimer&&o.prepend(':'),$('
').appendTo(o);for(var t=0,e=0;t').appendTo(o.find("table"));e').appendTo(n),e++;e=0,t++}enableFields(!1),initGridButtons(o)}function validateSudoku(o){var t=$(".sudoku-cell").find("input").filter(function(){return""===this.value});if(options.markWrongCellsOnFly){var e=$(o).parent(),n=e.parent().index(),i=e.index();parseInt($(o).val())===window.sudoku.fullMatrix[n][i]||""===$(o).val()?e.removeClass("invalid-cell"):e.addClass("invalid-cell")}if(options.markWrongCellsOnFinish&&!t.length){var s=[];$(".sudoku .sudoku-row").each(function(o){s.push([]),$(this).find("input").each(function(){s[o].push(parseInt($(this).val()))})}),checkResults(s,window.sudoku.fullMatrix)&&$(document).trigger("startConfetti")}}function toggleLoadingOverlay(o){o?$(".sudoku").addClass("loading"):$(".sudoku").removeClass("loading")}function initGridButtons(o){if(!options.useCustomButtons){var t=$("").addClass("btn-group"),e=$("