Skip to content

A simple command-line implementation of the game `four in the row`

License

Notifications You must be signed in to change notification settings

gokultp/go-four-in-a-row

Repository files navigation

Four In A Row

Game

Four-In-A-Row is a two-player connection game in which the players first choose a color and then take turns dropping one colored disc from the top into a ten-column, ten-row vertically suspended grid. The pieces fall straight down, occupying the lowest available space within the column. The objective of the game is to be the first to form a horizontal, vertical, or diagonal line of four of one's own discs.

Gameplay

Play Against the AI

Pass the flag -ai to play against a computer.

Multiplayer

Multiplayer through internet.

Developing

Contributing

Please read CONTRIBUTING.md (work in progress) for details on our process for submitting pull requests to us.

Code of Conduct

Our project has a code of conduct, please read it and act accordingly.

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc