Skip to content

JoanChirinos/MKS65C-FinalProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardsAgainstK

By Camilla Cheng, Joan Chirinos

Project Description

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!

How to Run:

For both client and server

  1. $ git clone <REPO_CLONE_URL>
  2. $ cd <REPO_NAME>
  3. <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!

Devlog

2018-12-31 -- Joan Chirinos

  • Added black and white cards from csv files

2018-12-31 -- Camilla Cheng

  • Added custom cards

2019-01-04 -- Joan Chirinos

  • Got the basic server without client working

2019-01-04 -- Camilla Cheng

  • Added helper functions for getting black and white cards

2019-01-07 -- Camilla Cheng

  • Added white card distribution to clients
  • Server/client working, but not getting correct output/input

2019-01-07 -- Joan Chirinos

  • Added deck shuffling, created struct deck implementation
  • Edited white card distribution to run smoother

2019-01-08 -- Camilla Cheng

  • Fixed compiler errors
  • Added black card distribution
  • Displayed white cards to clients, not working

2019-01-08 -- Joan Chirinos

  • 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

2019-01-09 -- Camilla Cheng, Joan Chirinos

  • Fixed bug caused by freeing of cards
  • Fixed parse_cards
  • Prettifyed a little

2019-01-09 -- Camilla Cheng

  • Implemented Czars and czar rotation
  • Implemented card submission
  • Implemented broadcasting selected cards to czar

2019-01-09 -- Joan Chirinos

  • Finished implementing most client-side Czar functions
  • Implemented endgame_check()
  • Tweaked function calls in main()
  • Finished implementing most server-side Czar functions

2019-01-10 -- Camilla Cheng, Joan Chirinos

  • Some groundwork on server and client
  • Cleaned some print statements

2019-01-11 -- Joan Chirinos

  • 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

2019-01-13 -- Camilla Cheng

  • Added many white cards
  • Robustified existing code
  • Prettified

2019-01-14 -- Camilla Cheng

  • Added pretty fireworks
  • General beautification of prints
  • Started socketing
  • Added player, score limits

2019-01-14 -- Joan Chirinos

  • Finished implementing sockets
  • Final round of testing via homer server and Camilla's laptop (works!)

2019-01-15 -- Camilla Cheng, Joan Chirinos

  • Updated README xD

About

Stuy-themed Cards Against Humanity clone, written in C as a System Level Programming final project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published