no..i was just kidding saying that of course that it takes a single wrong move in connect 4 to make the engine lose the game, no matter how perfect it plays afterwards..this is because the zugzwang thing. connect 4 is one of the most ennoying games i ever encounter LOL
i am just doing the evaluation for the first 4 moves to test how fast i can search to the end of the game afterwards that's all. when the speed will become optimal i will switch to using some sort of database.
And besides...if i want to make a program with a level choice, i can use the evaluation function for that. ( it is a very basic one)
In fact i already hardcoded a "database" of my own for the first 4 moves (for white) , by coding all the possible moves for white to any of blacks moves.(taken from a perfect play program ofcourse) (there is only a single correct white move for every black response so it is not so bad, although it took me a whole day almost ). i hardcoded all the moves because i don't know how to use a database file in my program