From 530d90738095641131d73d0bdb2c9fa9893d5e4e Mon Sep 17 00:00:00 2001 From: yael kelmer Date: Sun, 10 Jul 2016 23:59:13 -0400 Subject: [PATCH 1/5] final project proposal --- finalProjectProposal.c | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 finalProjectProposal.c diff --git a/finalProjectProposal.c b/finalProjectProposal.c new file mode 100644 index 0000000..4409dde --- /dev/null +++ b/finalProjectProposal.c @@ -0,0 +1,5 @@ +Yael Kelmer. + +For my final project, I want to implement a game of the card game, SET. I will make it a little simpler due to my limitations of graphic design, but it will still have the same concept as the game itself. The user will play against themselves in order to try and find as many sets possible in the cards that are dealt. +I will use functions to determine whether a set that the user chooses is actually a set. I will use loops to implement those functions. I will use structures to create the cards, since they are made up of many different characteristics. I will also use UNICODE to display the cards. +I picked this project, because when I was younger I used to play this game all the time and it has remained one of my favorites. Playing the game stimulates the brain and I think that writing the code that will implement this game will do the same. From 150dd594031dc2a9c9978014b318d2d382684f8b Mon Sep 17 00:00:00 2001 From: yael kelmer Date: Fri, 15 Jul 2016 01:05:22 -0400 Subject: [PATCH 2/5] almost done --- README.md | 44 +---------- finalProject.c | 195 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 199 insertions(+), 40 deletions(-) create mode 100644 finalProject.c diff --git a/README.md b/README.md index 6ff9dd5..127b716 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,10 @@ -# Final Project +Yael Kelmer's README file. -## Objectives -To review and implement concepts learned from class in a self-designed program. -### Description -You will design, propose, and implement a project of your own choosing. Your project must implement or include each of the following concepts: - - Variables/data types - - Input/output - - Conditional statements - - Loops - - Functions - - Arrays/strings (either directly or as a pointer) - - Advanced data types (structures and enumerated lists)
+My final project recreates the card game SET. This is how the game works: There will be 9 cards displayed on your screen. Each card has 3 characteristics: a number(1, 2, 3), a fill(e (empty), f (full), s (striped) ), and a shape(c (circle),s (square), t (triangle) ). These cards can be combined to form a SET. What is a SET you may ask? A SET is three cards, where each characteristic, when looked at individually, is either all the same OR all different. For example, a SET, would be three cards who have all different numbers, all different fills, and all the same shape. Your goal is to find as many SETs as you can! When you spot a set type in the location of each card (the location is the number next to the description of the card). If you think thereare no SETs on the board, you can request more cards. -If it is appropriate to use a header file and/or an external .c file containing utility functions, you should do so. If you have more than a few functions in your program, this applies to you. +The code uses a struct to create the characteristics of the card, which are number, fill, and shape. The code uses 5 functions that I created. These functions generate the deck of cards, shuffle the cards, display the cards on the board, display the necessary cards on the board, and check if the 3 cards that the user selected are in fact a set. Within int main() I use the functions that create the deck of cards and shuffles them. Then I explain the rules of the game to the user. After the user says they are ready, 9 cards are displayed on the board. The user has the option to add more cards (in case there are no SETs on the board) as long as there are more cards in the deck that are available. If the user would like more cards, then 3 more cards are printed on the screen. The user then inputs the locations of the three cards that they think are a set and the code utilizes the function that checks if three cards are a set to check. If it is a SET then the user is told it is a SET and if it is not, the user is told it is not a SET. Once there are no more cards in the deck and all the cards are displayed on the board, the user is asked if they want to stop the game. If they feel that there are no more sets they can say yes and the game stops. If they feel that there are more sets they can continue to play and they will continue to be prompted to stop the game. -Your program must be well-commented and provide the user with information on how to use your program. Interaction with the program should be specified within the program as well as within a readme.txt document. Rules for games should also be included in the readme.txt document. -Additionally, your code must be written efficiently and handle invalid user input appropriately. This means that if you have the user enter a number, and the user enters a string or a character, your program should not crash, go into an infinite loop, or produce anything outside of the expected functionality. +In my proposal I said that I would use UNICODE characters to display the cards. However, as I was coding I realized that I did not know how to implement it, so I displayed the cards in a different manner. -Examples of projects include (but are not limited to): game simulators (board games, battle arena, other games), text adventure games, artificial intelligence applications, etc. - -Note: There may be functionality you wish to include in your project that we have not gone over yet in class. You can check with your instructor (me) or your TA (Lesley) to see if we intend to go over it or if it is possible. You may wish to temporarily hardcode data, functionality, etc. until we go over it. Your final code for those sections should not be hardcoded. - -### Part 1: Proposal -You must submit a proposal that details the following: - - Descriptive overview of project (what it does, what game it implements/simulates, etc). This should be long enough to explain what your program is and what it does/does not do. - - Detailed examples of concept implementation (an example each of how you will use functions, loops, etc.). You do not need to explain how you will use variables or input/output unless it is not inherently obvious. - - Your reasons for picking this project (you are interested in game design and wanted to create a game, you think the application is interesting and why, etc.). - - Any external libraries you are considering using and what you will use them for. Keep in mind that most of your code should be your own, and we cannot provide any help for external libraries. This includes graphics libraries. You are responsible for learning and figuring them out on your own. Also detail any code you will use that is not yours. - -### Part 2: Project Implementation -You must implement the project as described in your proposal and conforming to the expectations in the Description section. - -Functions and large code blocks should be documented (have comments briefly explaining their purpose, as well as any parameters or return values, if applicable). - -You must include a readme.txt detailing how to run your project, a brief overview of what it does, and a brief explanation of interaction with the program (e.g. “You may enter commands at the >> prompt. For help/suggestions of commands to enter at any time, type ‘help’.” for a text adventure game). If your project is a game or game simulator, you should also include any rules as applicable (e.g. “Go Fish is a game of matching cards. If you suggest a card your opponent has, he/she must give you that card. Likewise, if the opponent asks for a card you have, you must give him/her that card. If no card matches, player draws from the pile. Otherwise, players continue asking for cards until they ask for a card no one has.”). - -Your readme.txt should also detail any changes made that do not follow your original proposal and explain why they differ. - - -### Deliverables -Your proposal should be submitted by 10am on Monday, July 11, 2016. It will either be approved or modification requested by Monday night. Note that if you submit your proposal early, it will likely be evaluated early, and you will be able to begin work on your project as soon as it is approved. Your proposal should be in a .doc, .pdf, or .txt document. - -Your project is due Friday, July 15, 2016 at 4pm. Please submit ALL files (source code, external libraries, data files, and executable). diff --git a/finalProject.c b/finalProject.c new file mode 100644 index 0000000..89858ef --- /dev/null +++ b/finalProject.c @@ -0,0 +1,195 @@ +/* Yael Kelmer. */ + +#include +#include +#include + +typedef struct { + int number; + char fill; + char shape; +} card; /*this is the struct that formats a card */ + +/*this function generates the deck of cards for SET and puts them in an array */ +void generateDeck (card arrayCards[]) { + int counter = 0; + int number; + int fill; + int shape; + char fillArray[] = {'e', 's', 'f'}; + char shapeArray[] = {'t', 's', 'c'}; + for (number = 0; number < 3; number++) { + for (fill = 0; fill < 3; fill++) { + for (shape = 0; shape < 3; shape++) { + card a = {number, fillArray[fill], shapeArray[shape]}; + arrayCards[counter] = a; + counter++; + } + } + } +} + +/*this function shuffles the deck of cards so that the player is not playing the same game if he or she chooses to play more than once */ +void shuffleCards (card arrayCards[]) { + int i; + int rand1; + int rand2; + card placeHolder; + srand(time(NULL)); + for (i = 0; i < 100; i++) { + rand1 = rand() % 27; + rand2 = rand() % 27; + placeHolder = arrayCards[rand1]; + arrayCards[rand1] = arrayCards[rand2]; + arrayCards[rand2] = placeHolder; + } +} + +/*this function displays a card */ +void displayCard (card a) { + printf ("{%d, %c, %c} ", a.number, a.fill, a.shape); +} + +/*this function prints the cards on the board such that there are only three in a row */ +void cardsOnBoard (card arrayCards[], int display) { + int i; + int counter = 0; + for (i = 0; i < display; i++) { + printf ("%d: ", i); + displayCard(arrayCards[i]); + counter++; + if (counter == 3) { + printf ("\n"); + counter = 0; + } + } +} + +/*this function checks if the three cards that the user selected do in fact make a set */ +int checkSet (card a, card b, card c) { + int check = 0; + + if (a.number != b.number && a.number != c.number && b.number != c.number) { + check++; + } + else if (a.number == b.number && a.number == c.number) { + check++; + } + else { + return 0; + } + + + if (a.fill != b.fill && a.fill != c.fill && b.fill != c.fill) { + check++; + } + else if (a.fill == b.fill && a.fill == c.fill) { + check++; + } + else { + return 0; + } + + + if (a.shape != b.shape && a.shape != c.shape && b.shape != c.shape) { + check++; + } + else if (a.shape == b.shape && a.shape == c.shape) { + check++; + } + else { + return 0; + } + + return check; +} + +int main () +{ + card arrayCards[27]; + int display = 9; + int available = 27; + int amountOfSets = 0; + generateDeck (arrayCards); + shuffleCards(arrayCards); + + printf ("Welcome to SET! This is how the game works: There will be 9 cards displayed on your screen. Each card has 3 characteristics: a number(1, 2, 3), a fill(e (empty), f (full), s (striped) ), and a shape(c (circle), s (square), t (triangle) ). These cards can be combined to form a SET. What is a SET you may ask? A SET is three cards, where each characteristic, when looked at individually, is either all the same OR all different. For example, a SET, would be three cards who have all different numbers, all different fills, and all the same shape. Your goal is to find as many SETs as you can! When you spot a set type in the location of each card (the location is the number next to the description of the card). Type the first number then press enter, type the second number then press enter, and lastly type the third number then press enter. If you think there are no SETs on the board, you can request more cards. If you are readytype 'g' and press enter. Good luck!\n"); + char ready; + scanf (" %c", &ready); + if (ready == 'g' || 'G') { + while (1) + printf ("These are the cards on the board:\n"); + cardsOnBoard(arrayCards, display); + /*this conditional statement asks the user if they want more cards as long as there are still more cards available. if the user says yes, more cards are added. */ + if (display < available) { + printf ("\n"); + printf ("Do you want more cards (Y/N): "); + char moreCards; + scanf (" %c", &moreCards); + if (moreCards == 'Y' || moreCards == 'y') { + display += 3; + if (display >= available) { + display = available; + } + printf ("These are the cards on the board:\n"); + cardsOnBoard(arrayCards, display); + } + else if (moreCards == 'N' || moreCards == 'n') { + } + else { + printf ("\nThat is not a yes or no answer, so I am assuming that is a no.\n"); + } + } + printf ("\n"); + printf("Which three cards do you think make a set?\n\n"); + int a; + int b; + int c; + scanf ("%d %d %d", &a, &b, &c); + if (a >= 0 && a < display && + b >= 0 && b < display && + c >= 0 && c < display && + a != b && a != c && b != c) { + int check; + check = checkSet (arrayCards[a], + arrayCards[b], + arrayCards[c]); + if (check) { + amountOfSets++; + printf ("\nThat's a SET! Nice job!\n\n"); + arrayCards[a] = arrayCards[available - 1]; + available--; + if (available < display) { + display--; + } + arrayCards[b] = arrayCards[available - 1]; + available--; + if (available < display) { + display--; + } + arrayCards[c] = arrayCards[available - 1]; + available--; + if (available < display) { + display--; + } + } + else { + printf ("\nThat's not a SET. Try again!\n\n"); + } + } + else { + printf("\nThat is invalid. Try again!\n\n"); + } + if (available - display == 0) { + printf ("Do you want to stop the game? Y/N?\n"); + char x; + scanf (" %c", &x); + if (x == 'Y' || x == 'y') { + printf ("You found %d SETs! Congratulations! Thanks for playing!\n", amountOfSets); + break; + } + } + } + + } +} From 6d0b231e4d127e84e4a599cb5b528b5ec76e0625 Mon Sep 17 00:00:00 2001 From: yael kelmer Date: Fri, 15 Jul 2016 01:21:40 -0400 Subject: [PATCH 3/5] final project --- README.md | 1 + finalProject.c | 4 ++-- finalproject | Bin 0 -> 13232 bytes 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100755 finalproject diff --git a/README.md b/README.md index 127b716..7ceb686 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ Yael Kelmer's README file. +To run my code you just need to type: ./finalproject My final project recreates the card game SET. This is how the game works: There will be 9 cards displayed on your screen. Each card has 3 characteristics: a number(1, 2, 3), a fill(e (empty), f (full), s (striped) ), and a shape(c (circle),s (square), t (triangle) ). These cards can be combined to form a SET. What is a SET you may ask? A SET is three cards, where each characteristic, when looked at individually, is either all the same OR all different. For example, a SET, would be three cards who have all different numbers, all different fills, and all the same shape. Your goal is to find as many SETs as you can! When you spot a set type in the location of each card (the location is the number next to the description of the card). If you think thereare no SETs on the board, you can request more cards. diff --git a/finalProject.c b/finalProject.c index 89858ef..02cf0ed 100644 --- a/finalProject.c +++ b/finalProject.c @@ -186,10 +186,10 @@ int main () scanf (" %c", &x); if (x == 'Y' || x == 'y') { printf ("You found %d SETs! Congratulations! Thanks for playing!\n", amountOfSets); - break; + exit(1); } } } } -} + diff --git a/finalproject b/finalproject new file mode 100755 index 0000000000000000000000000000000000000000..4a3879b2342caa277705ac3b8a29fbe36a62fd3d GIT binary patch literal 13232 zcmeHOdvF`ad0zk&MLi5sifqfW$6C8$LOBvF>Pg8>4UjzP=unSJq@7GHgGb;%zytvp zcaTK4cATN*35J%Uwn?ggI-^Y8iSu7F&A6H-V^NQY@{A|L%t#%LooSVXPDx8n==#Mt zve4hRw+kFjV8{KV|8b?e@BQt!-|il6Zv(@ZARu9esTwx(0=wJ%YO4kZDNWB1H9j-RN!)Wt|1)|`64jVN%MMX%E>Z_En zL>>6yGKW-XfhgD~<48)V?1&`07HQWa?G&7lfhnlkM{T34NBZmW zhd~h?Ccrwyy#h&>%D#8(xUg+<=(?t`Kooq^VKW7l-Cx3v;{3ctx@Y@keRJhyMz&8u zNwSC2ss62-A5O>Dr&F22k@ZK~wyxj0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I?ZjL(|UVW;|T>@YbZ-bi&T-iVD;VXLumqD)TcB}qYE)9ETcm6vsV2LEkexR_Bi*}|37yXA}as@ literal 0 HcmV?d00001 From 12f7d4f73a66e6777ade00729853b18ffe7cfd28 Mon Sep 17 00:00:00 2001 From: yael kelmer Date: Fri, 15 Jul 2016 11:00:58 -0400 Subject: [PATCH 4/5] I accidentally deleted an opening bracket and didn't realize --- finalProject.c | 8 +++++--- finalproject | Bin 13232 -> 13232 bytes 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/finalProject.c b/finalProject.c index 02cf0ed..30be4cd 100644 --- a/finalProject.c +++ b/finalProject.c @@ -116,8 +116,9 @@ int main () printf ("Welcome to SET! This is how the game works: There will be 9 cards displayed on your screen. Each card has 3 characteristics: a number(1, 2, 3), a fill(e (empty), f (full), s (striped) ), and a shape(c (circle), s (square), t (triangle) ). These cards can be combined to form a SET. What is a SET you may ask? A SET is three cards, where each characteristic, when looked at individually, is either all the same OR all different. For example, a SET, would be three cards who have all different numbers, all different fills, and all the same shape. Your goal is to find as many SETs as you can! When you spot a set type in the location of each card (the location is the number next to the description of the card). Type the first number then press enter, type the second number then press enter, and lastly type the third number then press enter. If you think there are no SETs on the board, you can request more cards. If you are readytype 'g' and press enter. Good luck!\n"); char ready; scanf (" %c", &ready); - if (ready == 'g' || 'G') { - while (1) + if (ready == 'g' || 'G') + { + while (1) { printf ("These are the cards on the board:\n"); cardsOnBoard(arrayCards, display); /*this conditional statement asks the user if they want more cards as long as there are still more cards available. if the user says yes, more cards are added. */ @@ -186,10 +187,11 @@ int main () scanf (" %c", &x); if (x == 'Y' || x == 'y') { printf ("You found %d SETs! Congratulations! Thanks for playing!\n", amountOfSets); - exit(1); + break; } } } } +} diff --git a/finalproject b/finalproject index 4a3879b2342caa277705ac3b8a29fbe36a62fd3d..192bc52607cd3ecc2fbfea27c68d200037d5136e 100755 GIT binary patch delta 1889 zcmbtVZ%kWN6u*5B29%Chun;m_y)1)u%Pf$Y#r;X3fz1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*U|6H6K2rX~b&;PJhg@4fGP!%S*A zH9fy>F4<6hm26LQX^|85cbwp>C!9bQm|PcnvAu*lQkORU8Ry%`iQ4INbBpRL{EIc^ zc^^`;s}WwEHGIan%9D`kBsN&o=cXIXfCeIy$}HzP0*Mm8P#s#y#=0n_CfH|V2O#UN zXFcQ~FNFk)4;5ejrc_D91mKkThvl5rhZdm*6~60ocJ2lm6y~&L+-R#+Gpl60yDpUFzFkGQD z3OKPt=^EhCDy3V1XKIvM7=&&C9s~Rd7zEsa0m6XcT}tNwzwHvIUBX(K1nh1sl*x=; zx}OBmk065NPT>*ucNlQS(r!ek2aYBoPJvk`G&gzH#OMV&{}93jLks~n`Eb3x&g(;a zfxp|z<7iVqgODFRfdbrWfcKgO1!%ktw~4h1=sB$O5FGS_2B}qj`XJ4Kmnfr-^C&UY5zU9p~k;z?O~CK#s&4dv%+A_Mn?LQ7{1+)J~z(u zM0C9YGxFY*#u`s%BsY%mWI?)zV@Mr1JY~dp+Q_p(x4AJ0)P5TDiVc5_-**x@B6{5B UhCS#9JYMto-(L>yk3ACm2P`S&hX4Qo From c9d1b4edd342c731f973175d07bb1d50f72beff1 Mon Sep 17 00:00:00 2001 From: Yael Kelmer Date: Wed, 15 Sep 2021 16:22:04 -0400 Subject: [PATCH 5/5] COMS 4156 HW0 - added comment --- finalProject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/finalProject.c b/finalProject.c index 30be4cd..8732488 100644 --- a/finalProject.c +++ b/finalProject.c @@ -1,5 +1,5 @@ /* Yael Kelmer. */ - +/* Comment for COMS4156 */ #include #include #include