Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add alternate Binary Positional Numeral system. #134

Open
pie75 opened this issue Apr 5, 2024 · 2 comments
Open

[Feature Request] Add alternate Binary Positional Numeral system. #134

pie75 opened this issue Apr 5, 2024 · 2 comments
Labels
enhancement New feature or request gameplay Relates to core game play

Comments

@pie75
Copy link

pie75 commented Apr 5, 2024

A long time ago, i watched a video on binary number systems, called "the best way to count", which, among many things, presented a positional numeral style for binary, that seemed interesting and intuitive. (the description of it is timestamped here)

The basic idea is pretty simple, replace 0 with a short vertical bar, and 1 with a long vertical bar. So numbers could look like this:

Western-Arabic Decimal Western-Arabic Binary Simplified Binary
0 0 .
1 1 I
2 10 I.
3 11 II
4 100 I..
5 101 I.I
6 110 II.
7 111 III

i've played with handwriting it at times, but never had a practical use for better binary legibility -- until i started playing Gauguin. I primarily play Gauguin in binary.

i'm curious to see if really practically using system would make it easier to do binary arithmetic, as my main problem is constantly reading the numbers as decimal, which makes my regular associations with them more crosswired; and while i can still do the algorithms, it's harder to make associations between numbers that i already understand (such as 101 = 10 + 11. (aka I.I = I. + II ))

The simplest solution is an option to replace the numbers 0 and 1 with . and I.
Alternatively, a custom font that has just the 0 and 1 glyphs replaced with lines.
Though if possible, a more bespoke solution would be nice; to join short groups of vertical bars with a horizontal bar, to make legibility easier, as described in the video.

@meikpiep meikpiep added the enhancement New feature or request label Apr 5, 2024
@meikpiep
Copy link
Owner

meikpiep commented Apr 5, 2024

Sounds very promising. :)

I'm optimistic that the current font will fit for this and will look into details like grouping - the implementation should be a kind of straight forward.

We have to deal with "where to put the new option", avoiding to overwhelm the user. One of my existing ideas is to show sample values when choosing the number system. This could be great to put this notation with some explanation or link.

@meikpiep meikpiep added the gameplay Relates to core game play label Apr 16, 2024
@meikpiep
Copy link
Owner

I just watched the part of the video - its hard to not get addicted to it. :)

I love the idea and now I actually get why simply exchanging the characters won't include grouping. I'm willing to implement this representation with a nice grouping.

The only question left for me is: What is a good fit for the number of digits to group? My intuition tells me 'at most five'...
@pie75 & others: Do you have an idea or a reference or any info? Implementation wise, it won't be a huge difference if I connect 3 or 5 lines with a horizontal line. The difficult part will be fitting the digits into the space, a la 'variable font size'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gameplay Relates to core game play
Projects
None yet
Development

No branches or pull requests

2 participants