i implemented alpha-beta pruning and it can run depth 5 blazingly fast. tenths of seconds. but the problem with this is that it doesnt see any decent end position at the end of its search, so it'll return a value of 0 for the end of the search. it's also wrong. 
for example, in this given position: py board = [ [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0], [0, 0, 0, 1, 0, 0, 0], [2, 0, 2, 1, 0, 0, 0] ]
you'd expect it to return that column 4 is the best. nope. it returns column 3 is the best for yellow to play, even though it clearly isn't because red is about to win on column 4. 
(it returns these evaluations for the following columns by the way) ```py
-600 0
-600 1
-800 2
-600 3
-600 4
-600 5
-600 6
Time taken: 5.88s to 6.12s
i'm also not sure how to tackle the overarching issue of a static evaluation. i found one online from [here](https://github.com/mukeshmk/connect-4/blob/master/bots/evaluation.py) and i went through to translate it to my code but it only increased the processing time from around 6 seconds to around 11 seconds, which was the opposite of what i wanted to do, and it didnt even return a concrete analysis. 
i also had help from @tidal brook with this project, which i greatly appreciate. but me and him had different interpretations of what the board should look like. i preferred a traditional 2D matrix of size 7 by 6, but in his version of the code he shared with me, which i am currently using, he proposed the (strange to me) idea of using a list of columns and then to place counters, just append to the list after checking it's less than 6 in length.
this works good and all, but i had to build translating functions to translate between his and i's methods, which i'd like to remove and convert fully to my format so i can say that i made it from top to bottom by myself, and of course give credit to @tidal brook for everything he's helped me with. an absolute legend. 
do let me know what you think. any help would be appreciated as always.
my code can be found [here](https://paste.pythondiscord.com/OFCQ) and im amazingly grateful for anybody that helps me with this project. 
|| (this also is gonna be cross-posted to the dpy server, so if you see it there, dont be alarmed. it's simply because they have longer expiration times and it can reach more people.) ||
apologies for the long help post. something i'm passionate about working on. 



