From a4d429e33507623ea9040f10e160152d3c900be4 Mon Sep 17 00:00:00 2001 From: Tom Nick Date: Wed, 1 May 2024 19:27:55 +0200 Subject: [PATCH] chore: update html tags --- index.html | 8 +++--- public/share.png | Bin 0 -> 8684 bytes src/engine/utility.ts | 60 ------------------------------------------ 3 files changed, 3 insertions(+), 65 deletions(-) create mode 100644 public/share.png diff --git a/index.html b/index.html index 20a977f..2f4e0eb 100644 --- a/index.html +++ b/index.html @@ -17,15 +17,13 @@ - + - - - - + + diff --git a/public/share.png b/public/share.png new file mode 100644 index 0000000000000000000000000000000000000000..1add82128b08de5fa2b098bedeacd0307f0766cc GIT binary patch literal 8684 zcmch6byQSe^zWT`Wux|HrvkQM<^8bnDEL_iuI z-?!HLrtAd~|D(6In;c@Lp?03c8h0QT$wKspxyD18e% z4Q1~G`5Ne$s4{X(Fz`vyYN%5`HGzgYK%<=~65Ytt;p7?Klt_CTBOS)al5`46&`3v; zx8cMcQ50!#23{#@S99W~NGgvf)J~>kMFI43iX^QlMjlCM#8U<_Inuf?dTAIvOqpH= z#vrLcC$B`Orber-Myszyr>0J)qDn6XV-%34)7D@Rk)?T}Ph(*~8E8xK!h@{PkEAAq zxE)R06hT^yAW!zB46&!SH=$Eir8U(hX+e=zBI%S>s5~vmGvLIHkz{#(lt?=UK^Z8@ zk+?aMPF)Qe{*D}#b0N?2p-A;& zI4W2jB5r$v$MLG5BrUf>T6bD*&?qVlz(h;^p6 zGiKnIf})<1<@%A-hfzD4(kUo2h|5#KEvej}P3usnZ&2 zQ(GEP#Jf-;Y)Q+486*^_9nHuyy(yC1Noqq$F$mI1bu?)Ww5hx-D1&Ut)8O<S0G+ZbMS?5znH!^^ zG=ro($-4-$JYPCZby{6b$^aX(R{`Ytehg9yv?jV_h5l3?7WCrs3_>zArh1gYc9j0s zl%e)C)<&eS5!4PQRNhuJ=6bY7I^@|tbebAur9rgDx>SDFWH~-G=K7>>g6I`h7zJd= zQ@rl(?yS4AvF{Hh=&824%2dqid-wYZu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ts @@ -3,66 +3,6 @@ import {SimpleSudoku, ComplexSudoku, Cell} from "./types"; export const SUDOKU_COORDINATES = [0, 1, 2, 3, 4, 5, 6, 7, 8]; export const SUDOKU_NUMBERS = [1, 2, 3, 4, 5, 6, 7, 8, 9]; -export const solvableSudoku1 = [ - "_1____674", - "_897_____", - "__2_638__", - "_28___76_", - "___1__43_", - "__692__18", - "_6_235___", - "2__4_81_6", - "57_______", -].join("\n"); - -export const solvedSudoku1 = [ - "315892674", - "689741325", - "742563891", - "128354769", - "957186432", - "436927518", - "861235947", - "293478156", - "574619283", -].join("\n"); - -export const solvableSudoku2 = [ - "34567892_", - "68914_57_", - "71__3_68_", - "27__86_3_", - "8_47___9_", - "_6___58__", - "__78__1__", - "__8____5_", - "_________", -].join("\n"); - -export const solvableSudoku3 = [ - "____3____", - "__1_65___", - "5__2___3_", - "__869_2__", - "__74_2__5", - "13__7__6_", - "______927", - "_8_______", - "_4_9_____", -].join("\n"); - -export const solvedSudoku3 = [ - "894731652", - "321865794", - "576249138", - "458693271", - "967412385", - "132578469", - "615384927", - "789126543", - "243957816", -].join("\n"); - // SQUARE TABLE /* _x = 0 _x = 1 _x = 2