JSFiddle - React, Tailwind, and code Playground
by chandings
HTML
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/angular.min.js"></script>
<div ng-app="myApp" ng-controller="myController">
{{hello}}
</div>
JavaScript
/*{
values: [1, 0, 0, 0, 2, 0, 7, 9, 0,
0, 9, 5, 7, 4, 3, 2, 8, 1,
8, 7, 2, 1, 5, 9, 3, 4, 6,
4, 0, 9, 5, 3, 6, 1, 2, 0,
7, 5, 6, 8, 1, 2, 9, 3, 4,
3, 2, 1, 9, 7, 4, 6, 5, 8,
2, 6, 7, 4, 9, 5, 8, 1, 3,
5, 1, 3, 2, 8, 7, 4, 6, 9,
0, 4, 0, 0, 6, 1, 5, 7, 2];
}*/
var myApp = angular.module("myApp", []);
myApp.controller("myController", function($scope){
$scope.hello = "Its Wroking!";
console.log(Math.floor(2.5));
for(var index = 0; index < 81; index++){
getPossibleValues(index);
}
function getPossibleValues(index, sudokuArray){
var ret = [];
console.log("index " + index);
console.log("x " + (index%9));
console.log("y " + Math.floor(index/9));
console.log("------------------------");
//var quotient =
}
function getRowArray(index, sudokuArray){
var ret = [];
}
function getMissingFromArray(arr){
}
});