gayuru / cBot

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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++

License:MIT License


Languages

Language:C++ 99.1%Language:C 0.5%Language:Makefile 0.4%