From f813de372fe89ff3bc9c34803b99e19cf0de4aac Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Sat, 16 Mar 2024 23:00:15 +0200 Subject: add draft assets and add run command to dev.sh --- dev.sh | 7 ++++- src/sliceitoff/assets/ball/00.png | Bin 0 -> 1760 bytes src/sliceitoff/assets/hack/0.png | Bin 0 -> 4838 bytes src/sliceitoff/assets/hack/1.png | Bin 0 -> 2712 bytes src/sliceitoff/assets/hack/2.png | Bin 0 -> 3478 bytes src/sliceitoff/assets/hack/3.png | Bin 0 -> 4395 bytes src/sliceitoff/assets/hack/4.png | Bin 0 -> 3041 bytes src/sliceitoff/assets/hack/5.png | Bin 0 -> 3493 bytes src/sliceitoff/assets/hack/6.png | Bin 0 -> 5169 bytes src/sliceitoff/assets/hack/7.png | Bin 0 -> 2097 bytes src/sliceitoff/assets/hack/8.png | Bin 0 -> 5677 bytes src/sliceitoff/assets/hack/9.png | Bin 0 -> 5069 bytes src/sliceitoff/assets/hack/A.png | Bin 0 -> 3688 bytes src/sliceitoff/assets/hack/B.png | Bin 0 -> 3730 bytes src/sliceitoff/assets/hack/C.png | Bin 0 -> 4123 bytes src/sliceitoff/assets/hack/D.png | Bin 0 -> 3472 bytes src/sliceitoff/assets/hack/E.png | Bin 0 -> 1525 bytes src/sliceitoff/assets/hack/F.png | Bin 0 -> 1518 bytes src/sliceitoff/assets/hack/G.png | Bin 0 -> 4310 bytes src/sliceitoff/assets/hack/H.png | Bin 0 -> 1623 bytes src/sliceitoff/assets/hack/I.png | Bin 0 -> 1622 bytes src/sliceitoff/assets/hack/J.png | Bin 0 -> 2673 bytes src/sliceitoff/assets/hack/K.png | Bin 0 -> 4676 bytes src/sliceitoff/assets/hack/L.png | Bin 0 -> 1518 bytes src/sliceitoff/assets/hack/M.png | Bin 0 -> 2879 bytes src/sliceitoff/assets/hack/N.png | Bin 0 -> 2974 bytes src/sliceitoff/assets/hack/O.png | Bin 0 -> 4744 bytes src/sliceitoff/assets/hack/P.png | Bin 0 -> 2852 bytes src/sliceitoff/assets/hack/Q.png | Bin 0 -> 5242 bytes src/sliceitoff/assets/hack/R.png | Bin 0 -> 3900 bytes src/sliceitoff/assets/hack/S.png | Bin 0 -> 4851 bytes src/sliceitoff/assets/hack/T.png | Bin 0 -> 4851 bytes src/sliceitoff/assets/hack/U.png | Bin 0 -> 2898 bytes src/sliceitoff/assets/hack/V.png | Bin 0 -> 3693 bytes src/sliceitoff/assets/hack/W.png | Bin 0 -> 3788 bytes src/sliceitoff/assets/hack/X.png | Bin 0 -> 5345 bytes src/sliceitoff/assets/hack/Y.png | Bin 0 -> 3603 bytes src/sliceitoff/assets/hack/Z.png | Bin 0 -> 2181 bytes "src/sliceitoff/assets/hack/\303\204.png" | Bin 0 -> 4022 bytes "src/sliceitoff/assets/hack/\303\205.png" | Bin 0 -> 5170 bytes "src/sliceitoff/assets/hack/\303\226.png" | Bin 0 -> 5035 bytes src/sliceitoff/assets/images.lst | 41 ++++++++++++++++++++++++++++++ src/sliceitoff/assets/player/00.png | Bin 0 -> 20090 bytes 43 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 src/sliceitoff/assets/ball/00.png create mode 100644 src/sliceitoff/assets/hack/0.png create mode 100644 src/sliceitoff/assets/hack/1.png create mode 100644 src/sliceitoff/assets/hack/2.png create mode 100644 src/sliceitoff/assets/hack/3.png create mode 100644 src/sliceitoff/assets/hack/4.png create mode 100644 src/sliceitoff/assets/hack/5.png create mode 100644 src/sliceitoff/assets/hack/6.png create mode 100644 src/sliceitoff/assets/hack/7.png create mode 100644 src/sliceitoff/assets/hack/8.png create mode 100644 src/sliceitoff/assets/hack/9.png create mode 100644 src/sliceitoff/assets/hack/A.png create mode 100644 src/sliceitoff/assets/hack/B.png create mode 100644 src/sliceitoff/assets/hack/C.png create mode 100644 src/sliceitoff/assets/hack/D.png create mode 100644 src/sliceitoff/assets/hack/E.png create mode 100644 src/sliceitoff/assets/hack/F.png create mode 100644 src/sliceitoff/assets/hack/G.png create mode 100644 src/sliceitoff/assets/hack/H.png create mode 100644 src/sliceitoff/assets/hack/I.png create mode 100644 src/sliceitoff/assets/hack/J.png create mode 100644 src/sliceitoff/assets/hack/K.png create mode 100644 src/sliceitoff/assets/hack/L.png create mode 100644 src/sliceitoff/assets/hack/M.png create mode 100644 src/sliceitoff/assets/hack/N.png create mode 100644 src/sliceitoff/assets/hack/O.png create mode 100644 src/sliceitoff/assets/hack/P.png create mode 100644 src/sliceitoff/assets/hack/Q.png create mode 100644 src/sliceitoff/assets/hack/R.png create mode 100644 src/sliceitoff/assets/hack/S.png create mode 100644 src/sliceitoff/assets/hack/T.png create mode 100644 src/sliceitoff/assets/hack/U.png create mode 100644 src/sliceitoff/assets/hack/V.png create mode 100644 src/sliceitoff/assets/hack/W.png create mode 100644 src/sliceitoff/assets/hack/X.png create mode 100644 src/sliceitoff/assets/hack/Y.png create mode 100644 src/sliceitoff/assets/hack/Z.png create mode 100644 "src/sliceitoff/assets/hack/\303\204.png" create mode 100644 "src/sliceitoff/assets/hack/\303\205.png" create mode 100644 "src/sliceitoff/assets/hack/\303\226.png" create mode 100644 src/sliceitoff/assets/images.lst create mode 100644 src/sliceitoff/assets/player/00.png diff --git a/dev.sh b/dev.sh index c4125ed..c1fafd2 100755 --- a/dev.sh +++ b/dev.sh @@ -8,10 +8,11 @@ Usage: $0 Commands: dev Install developement envoronment +run Run the app in developement environment pytest Run pytest unittests pylint Do pylint covhtml Make branch coverage report in html format -covff Open html coverage report in firefox +covff Genarate and open html coverage report in firefox all Do it all: pytest, coverage report in firefox and pylint install Build poetry package and install it for current user " && exit 0 @@ -48,6 +49,10 @@ case $1 in && $0 poetry-dev-deps ;; + run) + DEBUG=1 poetry run python3 src/sliceitoff + ;; + pytest) poetry run pytest -v ;; diff --git a/src/sliceitoff/assets/ball/00.png b/src/sliceitoff/assets/ball/00.png new file mode 100644 index 0000000..844b814 Binary files /dev/null and b/src/sliceitoff/assets/ball/00.png differ diff --git a/src/sliceitoff/assets/hack/0.png b/src/sliceitoff/assets/hack/0.png new file mode 100644 index 0000000..67c3877 Binary files /dev/null and b/src/sliceitoff/assets/hack/0.png differ diff --git a/src/sliceitoff/assets/hack/1.png b/src/sliceitoff/assets/hack/1.png new file mode 100644 index 0000000..c7fdf86 Binary files /dev/null and b/src/sliceitoff/assets/hack/1.png differ diff --git a/src/sliceitoff/assets/hack/2.png b/src/sliceitoff/assets/hack/2.png new file mode 100644 index 0000000..bf27c68 Binary files /dev/null and b/src/sliceitoff/assets/hack/2.png differ diff --git a/src/sliceitoff/assets/hack/3.png b/src/sliceitoff/assets/hack/3.png new file mode 100644 index 0000000..a003b03 Binary files /dev/null and b/src/sliceitoff/assets/hack/3.png differ diff --git a/src/sliceitoff/assets/hack/4.png b/src/sliceitoff/assets/hack/4.png new file mode 100644 index 0000000..6841587 Binary files /dev/null and b/src/sliceitoff/assets/hack/4.png differ diff --git a/src/sliceitoff/assets/hack/5.png b/src/sliceitoff/assets/hack/5.png new file mode 100644 index 0000000..a999722 Binary files /dev/null and b/src/sliceitoff/assets/hack/5.png differ diff --git a/src/sliceitoff/assets/hack/6.png b/src/sliceitoff/assets/hack/6.png new file mode 100644 index 0000000..8de8e0c Binary files /dev/null and b/src/sliceitoff/assets/hack/6.png differ diff --git a/src/sliceitoff/assets/hack/7.png b/src/sliceitoff/assets/hack/7.png new file mode 100644 index 0000000..5984a91 Binary files /dev/null and b/src/sliceitoff/assets/hack/7.png differ diff --git a/src/sliceitoff/assets/hack/8.png b/src/sliceitoff/assets/hack/8.png new file mode 100644 index 0000000..5d24fac Binary files /dev/null and b/src/sliceitoff/assets/hack/8.png differ diff --git a/src/sliceitoff/assets/hack/9.png b/src/sliceitoff/assets/hack/9.png new file mode 100644 index 0000000..dcf9ea7 Binary files /dev/null and b/src/sliceitoff/assets/hack/9.png differ diff --git a/src/sliceitoff/assets/hack/A.png b/src/sliceitoff/assets/hack/A.png new file mode 100644 index 0000000..7c8d5d9 Binary files /dev/null and b/src/sliceitoff/assets/hack/A.png differ diff --git a/src/sliceitoff/assets/hack/B.png b/src/sliceitoff/assets/hack/B.png new file mode 100644 index 0000000..7736d5f Binary files /dev/null and b/src/sliceitoff/assets/hack/B.png differ diff --git a/src/sliceitoff/assets/hack/C.png b/src/sliceitoff/assets/hack/C.png new file mode 100644 index 0000000..2f3b14a Binary files /dev/null and b/src/sliceitoff/assets/hack/C.png differ diff --git a/src/sliceitoff/assets/hack/D.png b/src/sliceitoff/assets/hack/D.png new file mode 100644 index 0000000..7734b77 Binary files /dev/null and b/src/sliceitoff/assets/hack/D.png differ diff --git a/src/sliceitoff/assets/hack/E.png b/src/sliceitoff/assets/hack/E.png new file mode 100644 index 0000000..50bf2fc Binary files /dev/null and b/src/sliceitoff/assets/hack/E.png differ diff --git a/src/sliceitoff/assets/hack/F.png b/src/sliceitoff/assets/hack/F.png new file mode 100644 index 0000000..acbc252 Binary files /dev/null and b/src/sliceitoff/assets/hack/F.png differ diff --git a/src/sliceitoff/assets/hack/G.png b/src/sliceitoff/assets/hack/G.png new file mode 100644 index 0000000..2a67982 Binary files /dev/null and b/src/sliceitoff/assets/hack/G.png differ diff --git a/src/sliceitoff/assets/hack/H.png b/src/sliceitoff/assets/hack/H.png new file mode 100644 index 0000000..b51df02 Binary files /dev/null and b/src/sliceitoff/assets/hack/H.png differ diff --git a/src/sliceitoff/assets/hack/I.png b/src/sliceitoff/assets/hack/I.png new file mode 100644 index 0000000..e856fee Binary files /dev/null and b/src/sliceitoff/assets/hack/I.png differ diff --git a/src/sliceitoff/assets/hack/J.png b/src/sliceitoff/assets/hack/J.png new file mode 100644 index 0000000..7803a3d Binary files /dev/null and b/src/sliceitoff/assets/hack/J.png differ diff --git a/src/sliceitoff/assets/hack/K.png b/src/sliceitoff/assets/hack/K.png new file mode 100644 index 0000000..1639dd2 Binary files /dev/null and b/src/sliceitoff/assets/hack/K.png differ diff --git a/src/sliceitoff/assets/hack/L.png b/src/sliceitoff/assets/hack/L.png new file mode 100644 index 0000000..e7b8e12 Binary files /dev/null and b/src/sliceitoff/assets/hack/L.png differ diff --git a/src/sliceitoff/assets/hack/M.png b/src/sliceitoff/assets/hack/M.png new file mode 100644 index 0000000..af0dbcb Binary files /dev/null and b/src/sliceitoff/assets/hack/M.png differ diff --git a/src/sliceitoff/assets/hack/N.png b/src/sliceitoff/assets/hack/N.png new file mode 100644 index 0000000..63d1fba Binary files /dev/null and b/src/sliceitoff/assets/hack/N.png differ diff --git a/src/sliceitoff/assets/hack/O.png b/src/sliceitoff/assets/hack/O.png new file mode 100644 index 0000000..3522877 Binary files /dev/null and b/src/sliceitoff/assets/hack/O.png differ diff --git a/src/sliceitoff/assets/hack/P.png b/src/sliceitoff/assets/hack/P.png new file mode 100644 index 0000000..d3c777e Binary files /dev/null and b/src/sliceitoff/assets/hack/P.png differ diff --git a/src/sliceitoff/assets/hack/Q.png b/src/sliceitoff/assets/hack/Q.png new file mode 100644 index 0000000..a5c9c67 Binary files /dev/null and b/src/sliceitoff/assets/hack/Q.png differ diff --git a/src/sliceitoff/assets/hack/R.png b/src/sliceitoff/assets/hack/R.png new file mode 100644 index 0000000..e23b545 Binary files /dev/null and b/src/sliceitoff/assets/hack/R.png differ diff --git a/src/sliceitoff/assets/hack/S.png b/src/sliceitoff/assets/hack/S.png new file mode 100644 index 0000000..a1e75e2 Binary files /dev/null and b/src/sliceitoff/assets/hack/S.png differ diff --git a/src/sliceitoff/assets/hack/T.png b/src/sliceitoff/assets/hack/T.png new file mode 100644 index 0000000..a1e75e2 Binary files /dev/null and b/src/sliceitoff/assets/hack/T.png differ diff --git a/src/sliceitoff/assets/hack/U.png b/src/sliceitoff/assets/hack/U.png new file mode 100644 index 0000000..8d46340 Binary files /dev/null and b/src/sliceitoff/assets/hack/U.png differ diff --git a/src/sliceitoff/assets/hack/V.png b/src/sliceitoff/assets/hack/V.png new file mode 100644 index 0000000..f88ee16 Binary files /dev/null and b/src/sliceitoff/assets/hack/V.png differ diff --git a/src/sliceitoff/assets/hack/W.png b/src/sliceitoff/assets/hack/W.png new file mode 100644 index 0000000..672ab28 Binary files /dev/null and b/src/sliceitoff/assets/hack/W.png differ diff --git a/src/sliceitoff/assets/hack/X.png b/src/sliceitoff/assets/hack/X.png new file mode 100644 index 0000000..49d1f87 Binary files /dev/null and b/src/sliceitoff/assets/hack/X.png differ diff --git a/src/sliceitoff/assets/hack/Y.png b/src/sliceitoff/assets/hack/Y.png new file mode 100644 index 0000000..4386da7 Binary files /dev/null and b/src/sliceitoff/assets/hack/Y.png differ diff --git a/src/sliceitoff/assets/hack/Z.png b/src/sliceitoff/assets/hack/Z.png new file mode 100644 index 0000000..88a3587 Binary files /dev/null and b/src/sliceitoff/assets/hack/Z.png differ diff --git "a/src/sliceitoff/assets/hack/\303\204.png" "b/src/sliceitoff/assets/hack/\303\204.png" new file mode 100644 index 0000000..9f6772b Binary files /dev/null and "b/src/sliceitoff/assets/hack/\303\204.png" differ diff --git "a/src/sliceitoff/assets/hack/\303\205.png" "b/src/sliceitoff/assets/hack/\303\205.png" new file mode 100644 index 0000000..706c37a Binary files /dev/null and "b/src/sliceitoff/assets/hack/\303\205.png" differ diff --git "a/src/sliceitoff/assets/hack/\303\226.png" "b/src/sliceitoff/assets/hack/\303\226.png" new file mode 100644 index 0000000..d5f08f7 Binary files /dev/null and "b/src/sliceitoff/assets/hack/\303\226.png" differ diff --git a/src/sliceitoff/assets/images.lst b/src/sliceitoff/assets/images.lst new file mode 100644 index 0000000..e15a2d4 --- /dev/null +++ b/src/sliceitoff/assets/images.lst @@ -0,0 +1,41 @@ +letter_0 assets hack 0.png +letter_1 assets hack 1.png +letter_2 assets hack 2.png +letter_3 assets hack 3.png +letter_4 assets hack 4.png +letter_5 assets hack 5.png +letter_6 assets hack 6.png +letter_7 assets hack 7.png +letter_8 assets hack 8.png +letter_9 assets hack 9.png +letter_A assets hack A.png +letter_B assets hack B.png +letter_C assets hack C.png +letter_D assets hack D.png +letter_E assets hack E.png +letter_F assets hack F.png +letter_G assets hack G.png +letter_H assets hack H.png +letter_I assets hack I.png +letter_J assets hack J.png +letter_K assets hack K.png +letter_L assets hack L.png +letter_M assets hack M.png +letter_N assets hack N.png +letter_O assets hack O.png +letter_P assets hack P.png +letter_Q assets hack Q.png +letter_R assets hack R.png +letter_S assets hack S.png +letter_T assets hack T.png +letter_U assets hack U.png +letter_V assets hack V.png +letter_W assets hack W.png +letter_X assets hack X.png +letter_Y assets hack Y.png +letter_Z assets hack Z.png +letter_Å assets hack Å.png +letter_Ä assets hack Ä.png +letter_Ö assets hack Ö.png +player_00 assets player 00.png +ball assets ball 00.png diff --git a/src/sliceitoff/assets/player/00.png b/src/sliceitoff/assets/player/00.png new file mode 100644 index 0000000..1508829 Binary files /dev/null and b/src/sliceitoff/assets/player/00.png differ -- cgit v1.2.3