|Version: | {{VERSION}} |
|:--------------|:------------|
|Branch: | {{GIT_BRANCH}} |
|Commit: | {{GIT_REVISION}} |
# [V·4·K {{VERSION}}](https://v4k.dev)
## a b o u t
- v4k is a multimedia workbench for prototyping and planning ideas.
- you can try out the [live demo](https://v4k.dev/demo/).
- reach us at [v4.games](https://v4.games/).
Code style
```C linenumbers
/// ## Markdown comments when documenting (3 slashes)
// C++ comments allowed /*C comments too*/
// Order matters: includes -> defines -> enums -> structs -> functions
#define puts(x) my_printf("%s", x) // lowercase defines allowed for syntax sugars
#define VERSION "1.0.0" // uppercase defines otherwise
enum { ZERO = 0 }; // uppercase enums. also, one-line brackets allowed
void assert_positive( int my_int ) { // lowercase snake_case everywhere
int *x = &my_int; // no spacing between pointers and variables
if( *x < ZERO ) { // no outer padding space after if,do,while,for,switch
puts( "Negative" ); // inner padding space around operators and parenthesis
} // 4-spaces indents, 1TBS brackets
} // when in doubt, dont worry & mimic style from codebase
```
## r e a d m e