board= value is the board layout (changes when you generate a new card)
scored= is the card state of where the dabs are. It's a decimal representation of the binary value where B1 square is bit 0, O1 is bit 4, up to bit 24 for a total of 25 bits.
A new card has a value of 4096. The center square is in the 13th bit position so 1000000000000 in binary representation. If you dab B1, binary value will be 1000000000001 and the URL will update scored= to 4097. Add a dab in N1 (1000000000101), scored value becomes 4101.
Adding a third cell state means using a base3 numbering system. I managed to get the URL updated ok, properly, but parsing it back to get the dabs in the right place is challenging.
I'm giving the gray squares a value of 2, so gets ignored as a dabed and not dabbed square.
bname= is of course the personalised name of the card.
so we're going full scale geek tonight
lol, yup. I hadn't taken a close look at how the board state was being kept until last week. I found it interesting. The only thing I had done with the URL before was add a name to personalise cards. Counting to 12 in base3 (ternay or trinary), which I never looked at before.
board= value is the board layout (changes when you generate a new card)
scored= is the card state of where the dabs are. It's a decimal representation of the binary value where B1 square is bit 0, O1 is bit 4, up to bit 24 for a total of 25 bits.
A new card has a value of 4096. The center square is in the 13th bit position so 1000000000000 in binary representation. If you dab B1, binary value will be 1000000000001 and the URL will update scored= to 4097. Add a dab in N1 (1000000000101), scored value becomes 4101.
Adding a third cell state means using a base3 numbering system. I managed to get the URL updated ok, properly, but parsing it back to get the dabs in the right place is challenging.
I'm giving the gray squares a value of 2, so gets ignored as a dabed and not dabbed square.
bname= is of course the personalised name of the card.
so we're going full scale geek tonight
twss
I got a little lost in the binary part, but the "helper function while playing, doesn't save to final card" part is good enough for me.
Yeah, there might be some humor in seeing how close people came if not for the dead squares but, for me at least, it's all about blocking the dead squares so I don't keep checking them all night.
To quote a former co-worker from a different company, "Be careful what you do well in life." (My current workload craziness is self-inflicted because I pointed out an error...and then volunteered to fix it.)
You know what they say about volunteers.....they are the person who didn’t understand the question.
board= value is the board layout (changes when you generate a new card)
scored= is the card state of where the dabs are. It's a decimal representation of the binary value where B1 square is bit 0, O1 is bit 4, up to bit 24 for a total of 25 bits.
A new card has a value of 4096. The center square is in the 13th bit position so 1000000000000 in binary representation. If you dab B1, binary value will be 1000000000001 and the URL will update scored= to 4097. Add a dab in N1 (1000000000101), scored value becomes 4101.
Adding a third cell state means using a base3 numbering system. I managed to get the URL updated ok, properly, but parsing it back to get the dabs in the right place is challenging.
I'm giving the gray squares a value of 2, so gets ignored as a dabed and not dabbed square.
bname= is of course the personalised name of the card.
board= value is the board layout (changes when you generate a new card)
scored= is the card state of where the dabs are. It's a decimal representation of the binary value where B1 square is bit 0, O1 is bit 4, up to bit 24 for a total of 25 bits.
A new card has a value of 4096. The center square is in the 13th bit position so 1000000000000 in binary representation. If you dab B1, binary value will be 1000000000001 and the URL will update scored= to 4097. Add a dab in N1 (1000000000101), scored value becomes 4101.
Adding a third cell state means using a base3 numbering system. I managed to get the URL updated ok, properly, but parsing it back to get the dabs in the right place is challenging.
I'm giving the gray squares a value of 2, so gets ignored as a dabed and not dabbed square.
bname= is of course the personalised name of the card.
To quote a former co-worker from a different company, "Be careful what you do well in life." (My current workload craziness is self-inflicted because I pointed out an error...and then volunteered to fix it.)
You know what they say about volunteers.....they are the person who didn’t understand the question.
NHL Network has Carolina at Florida on w fans in stands. I’m sure it’s a Covid distancing crowd and sadly it kinda looks like the crowds they were getting before this virus. Does that surprise anyone?
I hear ya! It's one thing that is good about being back in Eastern time this year - no more missing the start of games because I'm working! Well..... at least not often.
The majority of my work is "independent study"...I talked to 3 co-workers on the phone today and emailed with another 5. We only have ~40 employees total! I don't usually communicate with this many co-workers in one week let alone one day.
To quote a former co-worker from a different company, "Be careful what you do well in life." (My current workload craziness is self-inflicted because I pointed out an error...and then volunteered to fix it.)