About the Project

In this project, you will be implementing a CLI (Command Line Interface) version in C of the game - Twixt

To Learn the rules of the game - https://youtu.be/dIyuVS3xRQ0?si=_qYFqihhfrxKRBRq

Please get familiarized with the game by playing it online at - https://twixtlive.com/Play.aspx

You can play with a computer or play with your friends as well ! Enjoy :)

How to get started

First before thinking of the game logic, get going with -

  1. How do you store the board / game state
  2. What all different types of structs, enums, datastructures do you need
  3. How would you build a CLI (Command Line Interface) to take the player’s actions as inputs
  4. How will you alternate between Red and Black players

After this, you need to get the game logic as well -

  1. How do you check if any user has won yet
  2. How do you check if two pins can be connected or not