Commit Graph

693 Commits

Author SHA1 Message Date
Kostya
bd8b3d6dcc added adaptive-styles for element img on square 2024-01-25 23:33:07 +03:00
Kostya
03d7209942 added logic for vision-img on click in circle saper 2024-01-25 23:29:53 +03:00
Kostya
e11011bace added logic for end-game if circles === maxcircles 2024-01-25 23:15:57 +03:00
Kostya
7ae4fcb79e added logic for sounds on play-game 2024-01-25 21:12:41 +03:00
Kostya
e3612f5f01 refactor logic for MAX-btn and added validation for check integer-type 2024-01-25 20:47:21 +03:00
Kostya
fe52c01dae fixed vulnerability with claim winning-amount 2024-01-25 20:04:18 +03:00
Kostya
bf1d593117 refactor logic for get winning-amount 2024-01-25 19:49:44 +03:00
Kostya
706ccf5f79 delete comments and added logic for notification end-game 2024-01-25 19:45:13 +03:00
Kostya
bd78f21615 update logic for end game 2024-01-25 19:37:55 +03:00
Kostya
cb20c9987f delete comments in code 2024-01-25 18:53:38 +03:00
Kostya
9e848d789f refactor validation for click btn in saper 2024-01-24 15:15:53 +03:00
Kostya
6166260f63 added logic to added money on balance 2024-01-23 23:24:53 +03:00
Kostya
d463ef75a1 added vision for winning amount 2024-01-23 22:37:42 +03:00
Kostya
6390376668 added logic for end-game 2024-01-23 22:23:42 +03:00
Kostya
30b6d17075 fixed bug with infinity-game saper 2024-01-23 22:14:42 +03:00
Kostya
07fe48fd1f added if-block for check game user 2024-01-23 22:11:26 +03:00
Kostya
6f69a21c5a added debugger for value 2024-01-23 22:03:09 +03:00
Kostya
455503c484 added debugger 2024-01-23 22:01:22 +03:00
Kostya
883ae2ef23 test 2024-01-23 21:55:05 +03:00
Kostya
cde320628a added logic for end-game 2024-01-21 20:59:44 +03:00
Kostya
610fdde274 added logic for off click on cards if send request 2024-01-21 20:58:09 +03:00
Kostya
2964a58175 deleted console.log from SaperAPI 2024-01-21 20:56:43 +03:00
Kostya
01646ef756 fixed error with import 2024-01-21 20:49:35 +03:00
Kostya
c54db1662f fixed error with fetch 2024-01-21 13:15:45 +03:00
Kostya
e234bf4248 fixed findY in block if x <= 5, saper 2024-01-21 13:08:22 +03:00
Kostya
6c587cadb2 refactor logic for the formula findX, saper 2024-01-21 13:02:39 +03:00
Kostya
38267ffe49 refactor code template for request-send, saper 2024-01-21 12:46:33 +03:00
Kostya
5140b9e457 refactor logic for findX 2024-01-21 12:44:32 +03:00
Kostya
c26e57a972 эfixed bug with connect server, fixed findY/x for server 2024-01-21 12:32:43 +03:00
Kostya
8d98c43568 added handler for /play request, saper 2024-01-21 12:24:40 +03:00
Kostya
e6c9d88c24 fixed bug with deployment on vercel 2024-01-21 12:18:43 +03:00
Kostya
95edb7012e added logic for findX/Y if x <= 5 and fixed bug if click in 5 circle 2024-01-21 12:18:04 +03:00
Kostya
26d4fd8cda added request-body for play saper 2024-01-21 12:15:52 +03:00
Kostya
9c0f839356 added comment for future work game-over 2024-01-21 12:09:26 +03:00
Kostya
1dc5566597 refactor logic for checking maxCircles 2024-01-21 12:06:46 +03:00
Kostya
21b7695ecb refactor code, changed variables 2024-01-21 12:05:49 +03:00
Kostya
693ee3a711 fixed bug with the formula for findX 2024-01-21 12:02:37 +03:00
Kostya
d9d798397b refactor logic, changed naming for variables and added the formula for findX 2024-01-21 12:00:06 +03:00
Kostya
75da63a13b added the formula for findY 2024-01-21 11:57:35 +03:00
Kostya
dd55ef04f0 fixed bug with formula for findX 2024-01-21 11:55:10 +03:00
Kostya
feb82ad244 refactor the formula for findX 2024-01-21 11:49:34 +03:00
Kostya
f5e0336427 fixed bug with +1 circles logic 2024-01-21 11:45:22 +03:00
Kostya
0a7ef70591 added logic for gameCircles 2024-01-21 11:43:36 +03:00
Kostya
43336a4890 added logic for search X 2024-01-21 11:40:34 +03:00
Kostya
dc7cc3a700 added template for logic get X-Cordinate for send request /play, saper 2024-01-21 11:28:40 +03:00
Kostya
8fdd35c283 fixed bug with deployment on vercel 2024-01-21 11:18:37 +03:00
Kostya
2717141904 added test logic for play in saper 2024-01-21 11:16:47 +03:00
Kostya
a59b2ce666 fixed bug without deep in flippedcards watcher 2024-01-21 10:57:57 +03:00
Kostya
543fef319b refactor watcher for flippedcards 2024-01-21 10:55:14 +03:00
Kostya
aa4f3583fd fixed bug with type object 2024-01-21 10:51:55 +03:00