I made a neural network learn to dodge bullets, from scratch

I’ve wanted to implement NEAT (NeuroEvolution of Augmenting Topologies) from scratch for a while now. Every tutorial I found online just does pip install neat-python and calls .evolve(), and that felt like cheating myself out of actually understanding it. So I built a small twin-stick space shooter in C++ with raylib, and instead of playing it myself, I let a population of evolving neural networks play it for me. No PyTorch, no gradient descent, no backprop....

September 12, 2026

How I made C++ readable in Competitive programming

So I have started my competitive programming journey using Python instead of C++. And it was great! The one thing that I love the most about Python is how easily readable the code is. There are some great keywords like in and the beloved for i in range(start,end,step) whose value I did not realize until I started using C++. You start to appreciate the simplicity of print after writing your 5th << in cout...

April 24, 2024

Moving over to Hugo

A previous version of my portfolio was created using good old HTML and CSS, however editing that was turning out to be a chore. A wise man once said, do not reinvent the wheel, so I looked into the world of static site generators. Stumbling upon Hugo, I saw that it already had a plethora of good themes. A quick scroll through the page and I finally settled on the amazing papermod theme at https://github....

April 14, 2024