Skip to content

Instantly share code, notes, and snippets.

View object71's full-sized avatar
:octocat:

Hristo Iliev object71

:octocat:
View GitHub Profile
@object71
object71 / .clang-format
Created February 22, 2024 11:41
My Default Format
# Google C/C++ Code Style Settings
Language: Cpp
BasedOnStyle: Google
Standard: c++20
UseTab: Never
ColumnLimit: 120
# Additional
AlignAfterOpenBracket: AlwaysBreak
@object71
object71 / main.c
Created March 19, 2023 14:48
TicTacToe example implementation in Plain C
#include <raylib.h>
#include <stdint.h>
const uint8_t kEmptyPlayer = 0;
typedef struct Board {
uint8_t positions[3][3];
} Board;
Board ConstructBoard() {