diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dbe9c82 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.vscode/ \ No newline at end of file diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..f324735 --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# 1. Variables (to avoid repeating yourself) +CC = gcc +CFLAGS = -Iinclude +LDFLAGS = -Llib -lraylib -lGL -lm -lpthread -ldl -lrt -lX11 + +# 2. Default target (runs when you just type 'make') +default: visual text + +# 3. Specific build targets +visual: ray.c + $(CC) ray.c -o ray.out $(CFLAGS) $(LDFLAGS) + +text: text_physics.c + $(CC) text_physics.c -o text_physics.out $(CFLAGS) $(LDFLAGS) + +# 4. Cleanup targets (all mapped to the same action) +clean clear rm remove wipe: + rm -f ray.out text_physics.out + +# 5. Phony targets (tells make these are actions, not actual files) +.PHONY: default visual text clean clear rm remove wipe \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..f79231f --- /dev/null +++ b/README.md @@ -0,0 +1,14 @@ +# WrldBox Sandbox Simulator + +**WrldBox** is a work-in-progress sandbox simulator made by Team wholeworldcoding. + +Currently, it is in a prototype/experimental stage: + +- Rendering is extremely buggy. `ray.c` experiences orientation problems and is vibe coded and unchecked. + +The only usuable product is `text_physics.c`. This is a text physics simulator that simulates 2D physics. + +Expect more updates. This has huge potential to become the next big `wholeworldcoding` project. + +> [!TIP] +> Don't expect anything to work! \ No newline at end of file diff --git a/a.out b/a.out deleted file mode 100755 index 6af96ae..0000000 Binary files a/a.out and /dev/null differ diff --git a/ray b/ray deleted file mode 100755 index 27c533c..0000000 Binary files a/ray and /dev/null differ diff --git a/test.c b/text_physics.c similarity index 100% rename from test.c rename to text_physics.c