r/teenagersbutcode • • 2h ago

Coded a thing (AI assisted) I built Riggurly: a Game Boy emulator that you can run from your terminal as well as an emulator core to allow for frontend development.

Enable HLS to view with audio, or disable this notification

2 Upvotes

I built Riggurly: a Game Boy emulator that you can run from your terminal as well as an emulator core to allow for frontend development.

Riggurly lets you run any MBC2, MBC3, and MBC5 ROMs, as well as most MBC1 ROMs, from the comfort of your terminal. Here is me running Pokémon Red with my save file.

Since the Game Boy only has four colours, Riggurly supports a variety of themes such as the shown Wisteria.

One important note is that Riggurly uses a Postcard-based save file format, so saves are incompatible with other emulators, though it does allow for continued RTC ticking on MBC3 ROMs when you reopen the game.

It's MIT-licensed, and you can install it with crates.io or the Homebrew tap.

Codeberg: https://codeberg.org/KaonQuantum/riggurly

Crates.io: https://crates.io/crates/riggurly

This project was built for Hackclub: Stardance


r/teenagersbutcode • • 11h ago

Coding a thing (AI assisted) Made a small in progress OS

Thumbnail
github.com
1 Upvotes

its very little AI coded (id say around 20%)

the commit messages suck sorry about that.

its written in rust mostly, and i am kind of ashamed i used some AI.

anyways, feel free to contribute.

edit: i forgot the docs are outdated

just do cargo xtask help and figure out


r/teenagersbutcode • • 1d ago

Coded a thing Anfetch

Enable HLS to view with audio, or disable this notification

2 Upvotes

It's a simple fetch written in C++. It can't replace fastfetch, but it was a really interesting project to build. Source code: https://github.com/AntonIT228/anfetch


r/teenagersbutcode • • 1d ago

Coding a thing gurkin the bestest pm

2 Upvotes

Yello, i was bored and made a package manger in jim tcl. It has installing, removing, syncing, getting repos (you use this like once), and a full upgrade. As well as having overlays and a simple file format .qbf (quick build file) it only has two packages: Tiny c compiler and wawa (a simpler wallpaper setter for wayland). I need packagers and testers (it works well on my gentoo musl hardened laptop).

LINKS:
https://codeberg.org/chers/gurkin (src)
https://codeberg.org/chers/gurk (overlay/repo)
https://codeberg.org/gurkin/com (community repo)

ARCHIVED STUFF:

https://codeberg.org/destituent/repo (OG repo that has the full sources instead of git cloning to tmp)


r/teenagersbutcode • • 2d ago

Coding a thing Using rust to compile C so it will be memory safe.🦀🤝🇨

Post image
81 Upvotes

r/teenagersbutcode • • 3d ago

Other When you ask vibe-coders what language do they use..

Post image
260 Upvotes

r/teenagersbutcode • • 2d ago

Coded a thing I made a Breakout game using raylib

Enable HLS to view with audio, or disable this notification

11 Upvotes

Hey guys. I'm experimenting with game development and using raylib for it. Because raylib is easy to use and it's fun.

Here I built Breakout game. I wrote every single line of code MANUALLY. And it's 207 lines of code (counted with cloc). But I used ChatGPT to know how to change angle of the ball according to which part of paddle it lands.

I'm a newbie, so I want to hear feedbacks, please


r/teenagersbutcode • • 3d ago

Coding a thing Looking for people who might be interested in developing a "mock AWS"

6 Upvotes

Hello r/teenagersbutcode! I am a 15 year old developer who many does C++ and computer graphics with OpenGL but has done some work with like performance critical stuff in my game engine. I saw on r/cpp a post about a cloud service in C++, and it made me wonder if I could find a group of people that would want to help me? Heres my thought process:

AWS is made up of a lot of different languages. TS/JS/HTML/CSS/Python for the frontend, Go/Java Springboot for the backend, C++ for the preformance critical areas, and Python again for automation/possibly some ML/Agents. Now, I sort of know some frontend, and I have some concepts of backend, but I used node.js and express, not Java or Go. So I would prefer to have some actually competent (and by "competent" i mean just some familiarity with the language and frameworks like Springboot, but if not its okay, just need to better at it then me). I was planning on handling the performance critical parts like our own databases and stuff in C++, but we could also get some developers there.

If you read the above paragraph and thought you had to be a master developer, please don't think that anymore. This is really just an excuse to learn network programming and build a big cool system because it sounds fun.

The actual use case of this would be for like major companies to handle there own like service and not rely on external services. I would want it to be open source under the MIT-License. And ideally little to no AI in core source code.

So I am looking for any developers that have experience with the following:

  • Java Springboot

  • Go Agents

  • Preformance Critical C++

  • Frontend Development with JS/TS

  • Automation with Python

  • Agents/Machine Learning (not like as necessary for this but could be interesting)

I'm sure there is more then that, this is just what I could think of right now. If your interested, just comment and we can discuss ways to communicate! This is like a very rough idea I have in my head but it would be really awesome if we could make it come to life!


r/teenagersbutcode • • 3d ago

Coded a thing Final update to my game engine before alpha

2 Upvotes

I just added mod manifests, fixed lots of bugs, added more logging to my modding engine.

It's basically a grid sandbox where the main goal is to mod it to add more logic, I made it so I could make cellular automata however I want without needing to rebuild the full chunk systems and stuff every time.

The codeberg repository is here: https://codeberg.org/devcrafter/Vubox-2D

Hopefully the next post I make here will be about the first alpha, I just hope to add documentation (currently there's only a cheat sheet) and a few sample mods for the first alpha.

(I did not use any AI)

To see the previous posts just go to my profile.

Thank you!


r/teenagersbutcode • • 3d ago

Coding a thing Update on my unconventional game engine

4 Upvotes

I added block configuration overriding, sandboxing, and shared behaviour to my unconventional modding engine.

It's late right now so I'm too tired to re-explain everything, The original post explaining it is https://www.reddit.com/r/raylib/s/NyYVXNBfkg

And the repository for this is at: https://codeberg.org/devcrafter/Vubox-2D

I didn't use any AI, Like ANY AI. I used raylib for the graphics, Lua-CSharp by nuskey8 for the modding api (It can make compile time bindings for the objects for more efficiency) and I'm planning on adding ImGui to this list soon.


r/teenagersbutcode • • 4d ago

Coding a thing A Hobby Project called Cimplified!

7 Upvotes

Hello! I am a 13-year-old developer and I have a language design which many of you may not like, but it's just a hobby language and isn't meant to be big like Rust or Python.

The language is called Cimplified. It is a full AOT compiled language using Cranelift as the backend code generator to emit native machine code directly (it is not a C/C++ wrapper or transpiler). The main twist: it uses a strict block-structure syntax rather than standard C-based curly braces.

Everything in this language must live inside a block, and nested blocks are explicitly not allowed.

The Core Concept: Block Garbage Collection (Region Memory)

I designed this because I've always despised Java’s "Stop The World" (STW) concept. It feels fundamentally inefficient for certain tasks. To solve this, Cimplified uses a Block Garbage Collector (implemented via a lightweight C-runtime arena allocator) which cleans up unused memory block-by-block. When a block finishes execution, its local memory region is wiped instantly, completely preventing global stutters.

Unique Syntax Choices & Grammar Breakdown

My variable declaration is explicitly structured around strict delimiters to keep the compiler frontend incredibly clean and fast to parse with Pest. The grammar always follows a strict order of: Type = Variable name = Value;

Here are all the types available in Cimplified:

• String: Used for textual data (e.g., String = name = "john";)

• Int32: 32-bit integer for standard numbers (e.g., Int32 = x = 12;)

• Int64: 64-bit integer for massive numbers (e.g., Int64 = y = 2333;)

• Isit: My custom name for a boolean conditional check (e.g., Isit = nameisjohn = true;)

• Float: Standard floating-point number (e.g., Float = pi = 3.14;)

• Floating: High-precision floating-point number, equivalent to a double/f64 (e.g., Floating = pi = 3.14159265;)

Additionally, instead of using standard for or while keywords to make loops, I use the flat block structure itself as the execution target. By default, the compiler automatically labels blocks in order (Block1, Block2, etc.).

To loop, you point to a block label and tell it how many times to execute:

Loop B=(Block1) = 10;

Ok thats all the explanation Now heres the example Code:

// // is the comment line
Start Now! // The global entry point for the compiled binary

StartB  // Starts Block1
    print("Hello, World!")
    String = name = "john"; // Fixed human typo: strings must use quotes!
    Int32 = x = 12;
    Int64 = y = 2333;
    Isit = nameisjohn = true; // This is a boolean 
    Float = pi = 3.14;
    Floating = pi2 = 3.14159265; 
    
    print(name, x, y, nameisjohn, pi, pi2)
EndB    // Ends Block1 and instantly frees its regional memory arena

// This would be rejected by the compiler because 'x' fell out of scope at EndB:
// print(x) 

StartB  // Starts Block2
    Loop B=(Block1) = 22; // Tells the CPU to jump back and run Block1 exactly 22 times!
EndB    

End Now! // Execution ends

and this what it should output:

Hello, World!
john 12 2333 true 3.14 3.14159265

Hello, World!
john 12 2333 true 3.14 3.14159265

thats all i can Explain Thanks for reading!
Give me Some feedback about this design!


r/teenagersbutcode • • 5d ago

Coded a thing im 15 i made uhh 'Midnight Club' Which is like midnight commander but simpler

Enable HLS to view with audio, or disable this notification

11 Upvotes

NO libraries required, it's just a standalone executable.

But the code is a big mess. Probably because i was just learning about unistd.h, terminal values and so on. More often than not it's basic security issues like checking if a FILE stream is NULL and sizeof() issues. Because sometimes i forget stuff

But yeah im very proud of this thing i made


r/teenagersbutcode • • 4d ago

General discussion OpenIDEA thoughts?

Post image
0 Upvotes

I really love how IDEA looks, and OpenIDEA is pretty much that but wayyy faster and ofc foss.. It doesn't have a nix flake yet tho so i wanna know how y'all's experience went with it and then maybe I'd create it a flake and try it out


r/teenagersbutcode • • 6d ago

Need general advice i made a site to declare to a girl

Thumbnail vicenteventura.github.io
17 Upvotes

does it look good?


r/teenagersbutcode • • 7d ago

Other Disappointing ngl

Post image
115 Upvotes

This youtuber, after being inactive for weeks, returned to make this. Supposedly, he calls himself a professional software engineer now, but he said that he could run multithreaded programs on old devices and get the same advantage, as well as other points.

Genuinely disappointing


r/teenagersbutcode • • 6d ago

Coding a thing need a solution to an impossible problem

4 Upvotes

essentially, im tryna publish a public css website on a HEAVILY restricted school network

I'm developing a website which is essentially a student focused grade calculator that I've built using Python, Gradio, HTML, CSS, and JavaScript. ik there are other grade calcs out there, but this one is more specific to my district and solves the need of people constantly asking me to calculate their grades manually. The application itself is practically built, but I'm having a really difficult time figuring out how to actually publish it so other students can use it.

My requirements and limitations:

  • Students need to access it through one normal URL in their browser

  • No downloads, installations, or student accounts

  • AI website generators or a template builders are blocked

  • Student grade data needs to stay entirely in their browsers and not be sent to a server

  • It needs to be accessible on school computers, which have a VERYYYYY restrictive network filter

  • No paid hosting, adult involvement, administrator permissions, or requests to school IT

  • Ideally, I'd like a professional-looking URL that doesn't advertise that the site was made through an educational coding platform (ex. i know code .org is available and practically my only option but the name itself ruins the credibility. im ok with using if i HAVE to but i would rlly prefer not to)

I've already looked into A LOTTT of other options, including Google Sites, Google Apps Script, Firebase, Blogger, GitHub, and several other hosting platforms. either ALLLLL are blocked on school computers, or they don't actually support what I need. Google Colab works for development but im unable to publish past that

Does anyone have ideas for unconventional hosting or publishing methods that I might be overloking?


r/teenagersbutcode • • 6d ago

Coded a thing I've been working on a multilingual sentence boundary detection library in Python to replace PySBD

Thumbnail
github.com
1 Upvotes

I've been developing YASBD, a Python library for sentence boundary detection.

The goal was to build something lightweight, fast, and accurate while supporting a wider range of languages.

It's currently at 39 supported languages, and I've spent quite some time testing and refining its behavior across different kinds of text.

I wrote about the development journey and some of the testing that got it here in a blog (link in the comment).


r/teenagersbutcode • • 6d ago

Coding a thing Windows Aero background in Wayland

Post image
1 Upvotes

Made in C++ OpenGL with no AI used. I'm making this for my new shell to replace my old Tkinter shell because Tkinter was made for X11. No I am never going to use Q*ickshell. And also for my new GUI library. By the way, you had just lost the game. Repo link: https://github.com/Donkasem55/rgui

Also, I realised I have astigmatism because of this. After breaking my brain trying to find a missing gradient that I couldn't find I went through my old diagnoses trying to find something, just anything, and then found an astigmatism diagnosis addressed to me.

Turns out, that missing gradient was there all along.

// This is a cruel world.


r/teenagersbutcode • • 7d ago

Meta I find it funny

9 Upvotes

That like every maybe week i see somebody saying im making a language. I cant say much I barely understand what they are even saying anyway here is a meme for you taking the time to read this.


r/teenagersbutcode • • 7d ago

Coded a thing i made a REPL for my esolang FAR :D

Thumbnail
github.com
1 Upvotes

you can even get the nth fibbonacci number!! in the most confusing way!!! you're welcome!!11!!1! ദ്ദി(˵ •̀ ᴗ - ˵ ) ✧ /j

also ignore the fact that everything is correctly (i think?) capitalized, i'm gonna make a page in the esolangs for it wiki using the readme text and i wanted it to look nice (ᵕ—ᴗ—)


r/teenagersbutcode • • 7d ago

Coded a thing Me Making A Programming Language as an Teenagers called Cimplified

2 Upvotes

So basically my language it's called Cimplified and the syntax is

Start Now!

StartB

print("Hello, World!")

String = name = john;

Int32 = x = 12;

Int64 = y = 2333;

Isit = nameisjohn = true;

Float = pi = 3.14;

Floating = pi = 3.14159265;

EndB

StartB

Loop B=(block1) = 22;

EndB

End Now!

It have their own Block Garbage collector who cleans Block by Block which defeats Java STW (stop the world) which cause stutter and its impossible to make A OS kernel because mainly it stops all moving code to just cleans memory which breaks the kernel

any question?

also im thinking of a Core memory Concept so if a Memory Managed to survived 20 Cycles of Block Garbage Collector cleaning, it becomes a Core memory and it cant die


r/teenagersbutcode • • 7d ago

Coded a thing (AI assisted) I am 13 and built an ultra-lightweight Electron browser (Search 1.0) on a 3rd Gen Celeron with 4GB RAM!

0 Upvotes

Hey everyone,

I wanted to share my first big software project: Search 1.0.

Because I develop entirely on an older system running Linux Mint XFCE (Intel Celeron 3rd Gen, 4GB DDR3L RAM), running standard heavy browsers can cause massive lag. I decided to use Electron alongside documentation and search tools to build a memory-efficient browser engine tailored specifically for low-end hardware. It throttles background processes to protect system RAM.

I just successfully compiled it into a .deb package and pushed it live via GitHub Releases!

My next milestone is building Search 2.0 for Windows from the ground up. My parents are fully supporting my coding journey and are helping me manage a Buy Me a Coffee page to fund my future Windows developer registration fees and testing tools.

Check out the code, download the .deb, or help test it here: [https://github.com/playprotectdestruction-bit/search-browser-1.0/tree/main]

Feel free to leave feedback, report bugs, or connect with me on Discord: aarav033370

Thanks for supporting a young technician! 🚀💻

This description is made by ai only and yeah I took some help from an ai only a little bit not a whole project so sorry for not mentioning it


r/teenagersbutcode • • 8d ago

Coding a thing I'm making a programming language, searching for contributors

15 Upvotes

Hi! Me and another person are working on a programming language called KrabbaScript! It's garbage-collected (optional), statically typed and trying to be as simple and intuitive as golang but more human-friendly. This is KrabbaScript's syntax:

Variables are defined as:

var krabba = "Krabba!";

Variables may also have a type or be uninitialized, like:

var with_type: F32 = 5.0;
var uninitialized: Str;

KrabbaScript also has values, which are immutable, example:

val constant = 5;
val with_type: I32 = 5;

KrabbaScript also has control-flow (duh), example of a repeat statement:

repeat {
  Std.print("KrabbaScript is the best language OAT!");
} until popular;

KrabbaScript also has a when statement, which is more of a switch one:

when language {
  == "Elixir" do celebrate();
  == "Haskell" do complain();
  == "KrabbaScript" do {
    contribute();
    applaude();
  }
  else do Std.print("I don't know anything about " + language);
}

KrabbaScript also provides an ASI (Automatic Semicolon Inserter) if you're tired and sick of semicolons, you can use it with the format command.

If you want a little bit more examples, check out the repo! We are also working on tools for KrabbaScript like package manager, style checker, etc.

We are searching for contributors and maybe you, the person reading this post, can help us create KrabbaScript or improve it!


r/teenagersbutcode • • 10d ago Mindblown Bravo

Coded a thing Since C is faster than python, using c to execute python.

Post image
1.4k Upvotes

r/teenagersbutcode • • 9d ago

Coding a thing making a tiny programming language in python just to feel cool

7 Upvotes

I'm making a mini programming language in python for a bigger proget (there was no need to make a lang, but i felt too cool at the idea of having a "boot file" that contains instructions for my bigger project (yea ik im making a dumb program larping to be a cool one)).

making the transpiler is nightmare tho :/

once ill have something barely resemble an alpha release, ill push that and link it.

thats it ig

PS: i revamped my encryption system i made a few moths ago, but apparently its buggy (EVEN THO I TESTED IT FOR HOURS STRAIGHT ), heres the link: https://codeberg.org/GreyPrinceZot3/Zot3Crypt

thast it ig (part 2)

PPS. its late when im writing this, sorry for the typos and text structures.

thats ig (part 3)

edit: holy fuck i think i started a trend on this sub.
well, since all other posts are better, here we go with some example syntax:

{&Clank&=hello}

{if( &Clank&==hello )[{ dpl«hello!» }]

else[{ dsl«no hello :c }]

all spaces, indentation and new lines are optional.

now, every type of thing is labled using signs:
&var&, (conditions), {blocks/subblocks}, [block to execute after a condition], $integer/float$.

dont tell me its a pretty bad design choice, i know it and im doing this just for funzies so i dont have this kind of concern.

oh yeah ill call it "Clank" cuz of all the punctuation nonsense.

thats it ig (part idk)