top of page

Create Your First Project
Start adding your projects to your portfolio. Click on "Manage Projects" to get started
SameFight
Project type
Program
Date
November 2023
Location
San Marcos
A C program that simulates a card game where the player's objective is to get the same card as their partner. The odd team (Players 1 and 3) and the even team (Players 2 and 4) are dealt 1 card each. Player order goes as 1, 2, 3, and 4. During each turn, the player will draw a card, and if it matches their partner's card, odd team will win the round. Otherwise, they randomly select which card to keep. When a team wins a round, the cards used and the victor will be saved on a Wins.txt file


bottom of page

