Skip to content

Instantly share code, notes, and snippets.

View Ciro23's full-sized avatar

Ciro Sorre Ciro23

View GitHub Profile
@Ciro23
Ciro23 / rock_paper_scissors_strategy.c
Last active November 28, 2023 22:09
part 1 of day 2 of advent of code 2022 in c
#include <stdio.h>
#include <string.h>
typedef struct {
/*
* Each shape is identified by a character.
* A for rock,
* B for paper
* C for scissors
*/