Battle of Wits

Description

This project is a round by round card game that runs in the console. It's a Computer vs Computer game. The user chooses the number of players and starts the game. Only one of the players will be victorious.

Several versions of the game exist:

  • Version 0 : it's the base version of the game. Each player have a hand of 5 cards and plays 1 card then draw a card from his deck. We suppose that the deck is limitless. Each card have a degree of power which is inversely proportional to the likelihood of drawing it from the deck. Each card have effects: it can remove life points from an opponent or increase the life points of the one who played it.
  • Version 1 : In this version, we enhance the Version 0 by using a doubly linked queue to manage the deck and the hand of the player.
  • Version 2 : In this version, We add an arena where the players will occupy a place throughout the game. After playing a card, each player will move by a defined number of steps. We also introduce new cards that can create impassable walls on the arena. If a player is trapped between four walls, he dies.
  • Version 3 : In this version, We add new cards that enable a player to create clones of himself and put them in the arena. Each round, these clones will attack their parent's opponents.

Languages used

  • C

Links