DEV Community

Cover image for Building a Fake Terminal That Breaks Down Integers (INTDEC) | devlog#001
osakasync
osakasync

Posted on • Edited on

Building a Fake Terminal That Breaks Down Integers (INTDEC) | devlog#001

You find an old terminal that lets you break down your favorite integer.

That's a concise summary of INTDEC - a project that’s part of my osakasync lineup (this one’s osaker-001 ^^), where I build things in public and seek feedback. It’s more of a fun little tool, not particularly practical or useful.

Live demo

Live Demo: click here!

GitHub: view the source!

INTDEC boot

Why I made this

I built this project to learn in public and document my thought process so I could improve through feedback. I also just wanted to prove to myself that I could actually finish something.

What it does

The main feature is breaking down your favorite integer and giving you detailed info about it.

Want to know the divisors? Try divisors <number>. Curious if it’s a palindrome? Run ispalindrome <number>. Want to know everything the terminal has to offer? Use summary <number>!

INTDEC command showcase

There’s also:

  • A fake boot sequence with CRT effects
  • A virtual keyboard for input
  • Sound effects for boot-up, key presses (only the virtual keyboard for now), and errors/warnings

What working on it was like

This project started small, just a few math functions, but every time I sat down to work on it, I came up with more ideas.

It ended up taking longer than expected, but adding each new UI feature felt genuinely satisfying.

Even though I didn’t set strict goals up front, the process was fun and chaotic in a good way.

Next time, I want to work on having a clearer sense of direction from the start.

Development process interpretation (colorized)

INTDEC, development interpretation

What still needs work

  • Mobile layout is rough. There’s basic scaling for smaller screens, but no proper responsive design yet, there's also a problem with some glyphs not rendering properly (overbar notation for roman numerals). I'm aware of this bug and working on it ;p
  • Virtual + physical keyboard syncing is still in progress.
  • I want to add way more math commands like isFibonacci, log, ln etc.

What kind of feedback I’m looking for

As mentioned earlier, the point of documenting this is to improve through feedback. So if anything about the UI, command structure, or overall experience feels off I’d really appreciate you pointing it out.

Even small stuff helps :D

What’s next

INTDEC is in its “v1” state now - functional, but not done.

I’m planning to revisit it soon and do a round of cleanup and polish based on how people interact with it.

Thanks for reading! I know it's not a practical tool, but it was genuinely fun to build.

Hopefully someone out there enjoys messing around with it as much as I did while making it :D

Top comments (2)

Collapse
 
dennisturco profile image
Dennis Turco

very cool, i like it!

Collapse
 
osakasync profile image
osakasync

Thanks a lot! Glad you liked it :D