Challenges

Featured Challenge:
#187 — Bayesian Text Classification

In this coding challenge, I struggle my way through implementing a Naive Bayes text classifier in JavaScript using p5.js. I explain Bayes' theorem, demonstrate word frequency analysis, implement Laplacian smoothing, and build a working sentiment classifier that runs entirely in the browser.

oct 11, 2025

Bayesian Text Classification

Filter by Language

Pick a language to filter

Filter by Topic

Flappy Bird game

In this challenge, I use my JavaScript neural network library and a genetic algorithm to train an agent to play Flappy Bird.

Neuroevolution Flappy Bird

Sure, flappy bird is fun, but what happens if we take away the button and control the bird with clapping! Yes, it's time for Clappy Bird!

Clappy Bird

It's time to attempt to build a Flappy Bird clone in JavaScript with the p5.js!

Flappy Bird