Corner Connect is 4-in-a-row but with an all new twist + CPU ai opponents

Corner Connect is 4-in-a-row but with an all new twist. The play area is turned at a 45 degree angle, and players slide discs from the bottom-left or bottom-right instead of from the top.

Inserted discs can push other discs already in play, and gravity also plays a role. The pushing and gravity elements make for a dynamic new game experience where players can discover new strategies to get 4-in-a-row.

Try to beat the CPU ai opponent on Easy, Normal or Hard, or play a two-player local game against a friend.

2 Likes

Very nice! Only managed to beat the CPU on Easy :smiley:

Thanks, the CPU opponent algorithm was interesting to create. It checks all possible next moves in memory and ranks them according to the outcome. It scores the outcome on how many 2-3-4 in a row there are for both players and then ranks the move(s) with the most advantage over the other player. If two or more moves have a similar score, then it selects one at random.

The CPU Easy level doesn’t use this algorithm at all and just does random moves. Normal is 50/50 random moves and selected best moves, Hard only does the best moves.

It could be that the CPU Normal is still a bit too hard, I’ll check it and if so then I’ll adjust it in a future update.

Well done. I was able to beat on Normal on my 4th attempt. Didn’t get to beat Hard.