Skip to content
/ cBot Public

:octocat: A command-line game inspired by the board game Qwirkle written in C++

License

Notifications You must be signed in to change notification settings

gayuru/cBot

Repository files navigation

cBot CodeFactor

🎮 cBot is a command-line game inspired by the board game Qwirkle written in C++.

In the implemented Game Qwirkle,

  • A maximum of 4 players can get involved in playing
  • The players will get a randomly shuffled hand of 6 tiles
  • The tile bag takes the role of shuffling its 72 tiles which includes two tiles of the each type.

Gameplay

🔸 Players begin the game with six blocks. The start player places blocks of a single matching attribute (color or shape but not both) on the table. Thereafter, a player adds blocks adjacent to at least one previously played block.
🔸 The blocks must all be played in a line and match, without duplicates, either the color or shape of the previous block. Players score one point for each block played plus all blocks adjacent. It is possible for a block to score in more than one direction.
🔸 If a player completes a line containing all six shapes or colors, an additional six points are scored. The player then refills his hand to six blocks.
🔸 The game ends when the draw bag is depleted and one player plays all of his remaining blocks, earning a six point bonus.

👏 The player with the high score wins 👏

For more game rules ➡️ Qwirkle Game Rules

Installation

  • Do following commands and all should be good..
$ cd src
$ make all
  • Then run the game using the following command;
$ ./qwirkle

and you should be welcomed with the following screen 💡 cBot1

  • A Preloaded Game cBot1

Developers

License

🔑 MIT

About

:octocat: A command-line game inspired by the board game Qwirkle written in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages