Nerdle

You may recall in December 2021 the viral internet game Wordle, in which players try to guess a five letter word in 6 guesses. Each guess, they receive hints about the correctness of their current guess. The widespread popularity of Wordle led to many clones and spinoffs, one of which is called Nerdle. In Nerdle, rather than attempting to guess a word, players attempt to guess an equation.

I decided to implement my own version of Nerdle that supports equations of multiple lengths. This was my first foray into backend programming in Go. I ended up with a server that has an API endpoint for gameplay and serves a simple frontend. I also had fun implementing the equation parser in Go.

Source Code

The source code for this project is available on GitHub.

Pictures

Playing a game of nerdle.
This is what Nerdle gameplay looks like on my implementation.

Options and rules of nerdle.
These are the rules and options users can configure for my Nerdle.


Keywords: #go #golang #game #command-line-app #web #server #api

Eric Yager
Author: Eric Yager

Eric is a computer science & mathematics student and teaching assistant at Valparaiso University. He is also President of Valpo's student chapter of the Association for Computing Machinery (ACM) and Vice President of Valpo's Math Club. He likes to play chess (especially the bughouse variant), program in Go, and tent camp with friends.