Commit Graph

52 Commits

Author SHA1 Message Date
Artur Tamborski
67da4b217c src: wrap operations on grid in case its null 2021-01-24 12:51:13 +01:00
Artur Tamborski
638594aab4 Recognizer: iterate on solutions first 2021-01-24 12:45:06 +01:00
Artur Tamborski
1646e71222 Merge branch 'master' of https://git.wmi.amu.edu.pl/s449376/crosski 2021-01-24 02:41:59 +01:00
Artur Tamborski
e2959df0bc src: add implementation of finding solutions 2021-01-24 02:36:36 +01:00
Artur Tamborski
577f982e28 split app into more components 2021-01-24 01:04:28 +01:00
Artur Tamborski
91ac512507 split app into more components 2021-01-24 00:59:53 +01:00
Artur Tamborski
46a1f7e2bb src: loading from pic is working :) 2021-01-23 22:35:12 +01:00
Artur Tamborski
bdd2fc3d16 src: Include image cropper 2021-01-23 15:23:24 +01:00
Artur Tamborski
e5a7f68814 src: add debug code 2021-01-20 17:56:54 +01:00
Artur Tamborski
c00532ce74 src: load uploaded image 2021-01-17 14:02:59 +01:00
Artur Tamborski
5dafe543a4 bump react and typescript versions 2021-01-17 13:34:45 +01:00
Artur Tamborski
2818b521a5 yarn.lock: update 2021-01-17 13:00:50 +01:00
Artur Tamborski
bf74693edb src: clean up, add test code 2021-01-17 12:58:28 +01:00
Artur Tamborski
bac9a2dcf4 package.json: add tesseract and react file upload 2021-01-17 00:56:42 +01:00
Artur Tamborski
492913df70 src/helpers: add photo recognision functions 2021-01-17 00:54:33 +01:00
Artur Tamborski
618d538876 src/constants: add new board 2021-01-15 00:15:56 +01:00
Artur Tamborski
de72f53c74 src: add new board, select randomly from available ones 2021-01-15 00:15:41 +01:00
Artur Tamborski
9843107249 src: hide empty cells 2021-01-14 22:42:19 +01:00
Artur Tamborski
235819fa2f tsconfig: remove comment 2021-01-07 23:14:32 +01:00
Artur Tamborski
07f283f00e components: refactor, prepare for Answer component 2020-12-27 22:23:33 +01:00
Artur Tamborski
d2333a4267 constants: rename key to answer 2020-12-27 21:30:52 +01:00
Artur Tamborski
1dc334f41b components: move state up to App, prepare for new comp 2020-12-27 21:30:38 +01:00
Artur Tamborski
db77874786 components/Board: block selecting same answer twice 2020-12-27 19:58:48 +01:00
Artur Tamborski
d3923cd455 components/Line: refactor code, its nice and sweet now 2020-12-27 02:15:06 +01:00
Artur Tamborski
f3a39a3bf2 components: first fully successful game! 2020-12-07 13:10:34 +01:00
Artur Tamborski
b1ba2b6209 components: multi selecting and winning move recognision! 2020-12-06 23:12:52 +01:00
Artur Tamborski
0c539cc616 helpers: remove unused 2020-12-06 23:12:19 +01:00
Artur Tamborski
c3c01e438b license: add it 2020-11-30 22:33:19 +01:00
Artur Tamborski
c3d3be4e9d idk what happened 2020-11-30 22:30:03 +01:00
Artur Tamborski
0b72986461 components: start implementing multiple selections 2020-11-30 22:28:29 +01:00
Artur Tamborski
96b4a3b72d components/Line: finish refactoring, clean up 2020-11-29 17:01:04 +01:00
Artur Tamborski
5063668f66 components/Line: finish refactoring, clean up 2020-11-29 16:43:41 +01:00
Artur Tamborski
e182358eaf components/Line: pull out all variables 2020-11-29 11:20:26 +01:00
Artur Tamborski
46fef938d9 components/Line: more refactoring of line drawing algo 2020-11-29 11:12:03 +01:00
Artur Tamborski
0b65918240 components/Line: refactor out abs X / Y 2020-11-29 00:05:51 +01:00
Artur Tamborski
f3498331ad components: implement basic selection algorithm 2020-11-28 22:09:52 +01:00
Artur Tamborski
fd6a9f52a7 components: improve layout with css grid, rewrite line rendering 2020-11-28 10:59:56 +01:00
Artur Tamborski
27b824c235 components: add move validation, draw lines on mouse move 2020-11-28 09:55:59 +01:00
Artur Tamborski
ec3be89ad4 components/Board: ignore invalid selections 2020-11-27 22:27:07 +01:00
Artur Tamborski
a383c0b1d7 components: prepare components for multiple line selections 2020-11-27 21:00:56 +01:00
Artur Tamborski
9af3b68427 components/Line: new component! 2020-11-27 21:00:27 +01:00
Artur Tamborski
bab2e24d7f components/Board: implement basic word selection 2020-11-27 19:42:18 +01:00
Artur Tamborski
9001deaf3a components: rewrite layout with CSS Grid, add line drawing 2020-11-27 19:00:24 +01:00
Artur Tamborski
6468f94c61 small modifications 2020-11-27 18:59:55 +01:00
Artur Tamborski
e08480bb18 public: add favicon 2020-11-27 18:59:40 +01:00
Artur Tamborski
840ab8fcba public/index.html: remove comments 2020-11-15 09:16:43 +01:00
Artur Tamborski
fe59d8f0ed components: use sass :) 2020-11-15 09:10:32 +01:00
Artur Tamborski
6bf0c531ba add type hints 2020-11-15 09:05:32 +01:00
Artur Tamborski
5b3a051229 cleanup 2020-11-15 01:30:21 +01:00
Artur Tamborski
c5dbc39cda components: implement more blocks 2020-11-15 01:29:55 +01:00