This is a C implementation of the TwentyFour Part Two game where the player is given a set of four numbers and the goal is to use basic mathematical operations (+, -, *, /) to get a result of 24. The player must use each number exactly once.
- Three difficulty levels: easy, medium, and hard
- Validation of user input
- Evaluation of expressions
- Random puzzle selection from a text file
- C Compiler (e.g., GCC, Clang)
- Clone the repository:
git clone https://github.com/juebenjamin/TwentyFour-2.git
- Navigate to the project directory:
cd TwentyFourPartTwo
- Compile the program:
gcc -o twentyfour2 TwentyFour2.c
- Run the complied program:
./twentyfour2
- Follow the prompts to select a difficulty level and enter your solution.
- To exit the program, choose the "exit" option when prompted.