- A 2-player text-based version of the board game Qwirkle.
- Developed as part of a team.
- Written in C++14 and makes use of:
- ADTs
- Linked lists (coded from scratch)
- Pointers
- Dynamic memory management
- File processing
- Program state management
- Exception handling
- Tests were performed using diff to compare the actual vs. expected output.
Clone the repo and navigate to the root directory. Compile using:
make
Run using:
./qwirkle
There is an enhanced version of the game that includes a 3-4 player mode, player vs. computer and help prompts when the "Help!" command is entered. Run the enhanced version using:
./qwirkle -E
Tests were completed using a diff. To run these tests, use:
./tests/run-tests.sh
![](https://private-user-images.githubusercontent.com/137973963/299278708-4ddbcb79-be7f-47f6-8377-7a6c7b92121e.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzU1NTc2NjMsIm5iZiI6MTczNTU1NzM2MywicGF0aCI6Ii8xMzc5NzM5NjMvMjk5Mjc4NzA4LTRkZGJjYjc5LWJlN2YtNDdmNi04Mzc3LTdhNmM3YjkyMTIxZS5qcGc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQxMjMwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MTIzMFQxMTE2MDNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04OTBhZjk3MTM4MWY2YWIwYTM1NGM5MjFlY2IyNGJjMmQwYWZiNDIyODgzMWM2OGZmOGEwZjZhZGNkODEyZDVlJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.nvKJgV4u0a-Yv549-Vb5EUZ5GO4Bcl2rT84pagpnYZ0)