Hacker News new | past | comments | ask | show | jobs | submit login

I didn't look at the game, but converting from hex to binary is easy since one of those bases is a power of the other. It's a 16-entry lookup table, but just like memorizing the multiplication table, there are easy-to-remember patterns. The fact that there are two digits just means to do it twice and concatenate the results (padding to 4 bits first).



Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: