StuyCS-themed Cards Against Humanity clone, written in C as a System Level Programming final project.
* This card pack features 20 "Mr. K" white cards, as well as cards of your other favorite CS teachers! Fun for the whole class!
$ git clone <REPO_CLONE_URL>
$ cd <REPO_NAME>
<PATH_TO_REPO> $ make
For Server | For Players |
---|---|
4. <PATH_TO_REPO> $ make server |
6. <PATH_TO_REPO> $ make client <SERVER_IP> |
5. Follow instructions on terminal to set up game | 7. Wait for remaining clients to join, then play CardsAgainstK! |
- Added black and white cards from csv files
- Added custom cards
- Got the basic server without client working
- Added helper functions for getting black and white cards
- Added white card distribution to clients
- Server/client working, but not getting correct output/input
- Added deck shuffling, created struct deck implementation
- Edited white card distribution to run smoother
- Fixed compiler errors
- Added black card distribution
- Displayed white cards to clients, not working
- Established a foundation of methods in the
main()
- This was used to lay down a groundwork of what we needed to work on, and in what order they would show up
- Fixed bug caused by freeing of cards
- Fixed parse_cards
- Prettifyed a little
- Implemented Czars and czar rotation
- Implemented card submission
- Implemented broadcasting selected cards to czar
- Finished implementing most client-side Czar functions
- Implemented
endgame_check()
- Tweaked function calls in
main()
- Finished implementing most server-side Czar functions
- Some groundwork on server and client
- Cleaned some print statements
- Cleaned up printing-screen into one function
- Implemented player names
- Attempted to implement score
- Ran into a bug: scores work on Ubuntu for Windows, and Ubuntu machines (homer), but do not work on MacOS
- Added many white cards
- Robustified existing code
- Prettified
- Added pretty fireworks
- General beautification of prints
- Started socketing
- Added player, score limits
- Finished implementing sockets
- Final round of testing via homer server and Camilla's laptop (works!)
- Updated README xD