Inspiration

When the NUSHacker's mascot spoke quackanese, we couldn't understand it at first. So we decided to make sense of it using our own build Esolang calls BrainDuck, built upon BrainFuck & based on Ook!

What it does

BrainDuck is a fully functional Esolang only using 3 keywords:

  1. Quack.
  2. Quack?
  3. Quack!

Using a combination of these keywords, users can code out anything their minds can imagine.

Additionally, to increase hypertension and brain f*ckery, Donald Trump can narrate your source code.

How we built it

The backend is built on node.js and the frontend is built using React. This project is an interpreted language that parses BrainDuck to BrainFuck where the code runs on the backend after.

Challenges we ran into

  1. Connecting frontend to backend. Initially, we coded the parser in python which caused many issued when it was being integrated into our backend. To solve this, we spent some time converting everything back into JS.

  2. Error handling. Due to the nature of a language project, a lot of error handling had to be implemented for usability.

Accomplishments that we're proud of

  1. Finished a fully working webpage with UI.
  2. Made Donald Trump speak QUACKenese.
  3. Spread joy and laughter to everyone who we've showed our project to.

What we learned

  1. Don't integrate Python into JavaScript.
  2. Don't take code so seriously
  3. Github is important. [Much time was wasted without it :,) ]

What's next for BrainDuck

  1. More voicing options.
  2. Cleaner UI.
  3. Built in Step-by-step tutorial on the webpage.
Share this project:

Updates