Commit Graph

46 Commits

Author SHA1 Message Date
Sandipsinh Rathod
aad83f47dc
fix errors 2024-11-18 17:04:23 -05:00
Sandipsinh Rathod
d8e83f20a0
fix cmd in readme 2024-10-11 19:43:46 -04:00
Sandipsinh Rathod
dde0085ce5
include cstring 2024-10-11 19:43:11 -04:00
Sandipsinh Rathod
4997ccb8da
fix cmd in readme 2024-10-11 19:42:10 -04:00
Sandipsinh Rathod
85c6caa5ff
add readme and rename main.cpp 2024-10-11 19:36:01 -04:00
Sandipsinh Rathod
d8a8aeeaf8
add copyright 2024-10-11 19:25:23 -04:00
Sandipsinh Rathod
ed1d837f1b add comments 2024-10-11 19:22:56 -04:00
Sandipsinh Rathod
4f65ec59e8 fix printScore 2024-10-11 17:11:40 -04:00
Sandipsinh Rathod
2acdae42e4 add some comments and drop all possible strings 2024-10-11 17:02:37 -04:00
Sandipsinh Rathod
388a52eca1 set data to NULL by default 2024-10-11 16:55:23 -04:00
Sandipsinh Rathod
76a1ddd26a
avoid using vec in printBoard 2024-10-11 16:52:24 -04:00
Sandipsinh Rathod
244bc8d287
remove some todos 2024-10-11 14:01:13 -04:00
Sandipsinh Rathod
2ea9252c53
reduce use of std 2024-10-11 13:55:22 -04:00
Sandipsinh Rathod
3d9ddad0b6
fix printBoard index 2024-10-11 13:47:55 -04:00
Sandipsinh Rathod
3cbb9989c6
fix solveVertical 2024-10-11 13:39:49 -04:00
Sandipsinh Rathod
be78c4fa6c
add a gap b/w index col 2024-10-11 13:35:24 -04:00
Sandipsinh Rathod
57aa6a7300
fix warns 2024-10-11 13:32:32 -04:00
Sandipsinh Rathod
22d6b6632e
fix warns 2024-10-11 13:32:08 -04:00
Sandipsinh Rathod
e3a728e10b
fix printBoards 2024-10-11 13:31:02 -04:00
Sandipsinh Rathod
5bfef3f9dd
fmt 2024-10-11 12:38:35 -04:00
Sandipsinh Rathod
52b546216e
fmt 2024-10-11 12:36:26 -04:00
Sandipsinh Rathod
53e80633aa
drop unused defs 2024-10-11 12:02:18 -04:00
Sandipsinh Rathod
3008c1c2cb
fix printBoard 2024-10-11 12:01:47 -04:00
Sandipsinh Rathod
6f8eb0f0ac enhance swapChar 2024-10-10 20:06:06 -04:00
Sandipsinh Rathod
ade69a563e fmt 2024-10-10 20:04:33 -04:00
Sandipsinh Rathod
2b6b1ee2bb recursive function to reverse string 2024-10-10 20:04:26 -04:00
Sandipsinh Rathod
d02753efb0 miscellaneous 2024-10-10 19:56:52 -04:00
Sandipsinh Rathod
7138acc056 fix logical err in win/tie 2024-10-10 19:55:31 -04:00
Sandipsinh Rathod
489c43b953 fix logical err in win/tie 2024-10-10 19:36:22 -04:00
Sandipsinh Rathod
8a0445f6e2 added some todo 2024-10-10 19:27:03 -04:00
Sandipsinh Rathod
b5dd36b8af add invalid move check in serialize 2024-10-10 19:26:14 -04:00
Sandipsinh Rathod
921d620830 add case for tie 2024-10-10 19:20:42 -04:00
Sandipsinh Rathod
37f096170c add check for impossible board sizes 2024-10-10 18:59:00 -04:00
Sandipsinh Rathod
cf468cfe08 blacklist player 2024-10-10 18:52:28 -04:00
Sandipsinh Rathod
937d223a8c additional check for valid move 2024-10-10 18:41:57 -04:00
Sandipsinh Rathod
1843fd06de add custom vec impl 2024-10-10 18:37:13 -04:00
Sandipsinh Rathod
8ff786df97
miscellaneous 2024-10-10 18:16:59 -04:00
Sandipsinh Rathod
415ed299e9 miscellaneous 2024-10-10 12:14:29 -04:00
Sandipsinh Rathod
787b320130 fmt 2024-10-10 12:13:56 -04:00
Sandipsinh Rathod
caf1b6d08e switch to pointer to store players 2024-10-10 12:13:46 -04:00
Sandipsinh Rathod
6b8d4bea61 initial working code 2024-10-10 11:51:38 -04:00
Sandipsinh Rathod
d9806254ec remove unnecessary std prefix 2024-10-09 22:00:20 -04:00
Sandipsinh Rathod
f7e0dcfd86 setup major background and helper functions 2024-10-09 21:53:49 -04:00
Sandipsinh Rathod
c8388bd7e6 add some helper functions 2024-10-09 20:36:29 -04:00
Sandipsinh Rathod
f42154621f
add CMakeLists.txt 2024-10-09 19:45:24 -04:00
Sandipsinh Rathod
a79ad53b7a
init 2024-10-09 19:39:24 -04:00