Skip to content

0xsoria/ConnectFour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Connect X

This is a simple macOS game where you have to connect X coins of the same color in a row (diagonally, vertically or horizontally).

image info

How to check if there are X items in a row?

I'm doing that based on where the coin was added. So, if added on IndexPath 0,0, I start checking around this index, so it's not necessary to check the whole board. There still some improvements to be done, by the way.

Changing the how many in a row to connect

I still have to add configurations in order to change how many items to connect in a row, if the user wants to play agains other players or the not intelligent AI and how many collumns and rows are available.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages