The pygame version of Hues and Cues
Welcome to Hues and Cues!
Here we have the python version of the hues and cues boardgame which was prepared for a university class 'Algorithms and Data Structures' at IE University.
The purpose of the game is to receive hints (in this case 2 hints per guess) and try to guess the exact color. The further away your guess is the greater is your score. Player with the smallest score wins.
You can learn more about the game from the presentation here: ADS Presentation.pdf
This game uses a mix of algorithms and data structures.
It has comprehensive comments and includes time complexity analysis of almost every function.
- Quicksort
- Binary Search
- Matrix
- Dictionaries
- Tuples
- Lists
The game also includes a simple bot which acts with slight knowledge but still somewhat randomly. It's used to allow a single player game. Bot is the white player.
To play it simply clone the directory in your local environment.
Run
pip install pygame
in your terminal
and then to start the game run python main.py
Then simply enter the number of players and follow the instructions.