I am sorry for mixing formal and informal Japanese.
Formality is difficult. (格式は難いです。)
enum class ItemAttributes : uint8_t
Reserved = (1 << 0),
Known2 = (1 << 1),
Opened = (1 << 2),
Coated = (1 << 3),
Wielded = (1 << 4),
Known = (1 << 5),
Cursed = (1 << 6),
Stackable = (1 << 7),
Although, I think the other way (ビット七は右とビットゼロは左) would be more efficient.
The ATmega32u4 (アーヂュボイのシーピーユー) does not have a “barrel shifter” (日本語).
This means bits are shifted one at a time.
x >> 7 in assembly (アセンブリ言語) is:
x >> 1 in assembly (アセンブリ言語) is:
r0 means 'register 0`, it could be a different number.)
So to be efficient, more common bitfields should have lower numbers.
(I.e. the most common field should be in bit 0.)
(ごめんなさい、verb conjugation is hard.)
Some advice: think of RAM as a big array of bytes.
A pointer is an index into that array (RAM).
So, a pointer is like an index into RAM.
A pointer is actually an integer. (ポインターは整数です。)
int8_t a = 5;
int8_t * pointer = &a;
Think of them as a group of variables.
If you need help using GitHub, I can explain that too.
This explains how to create a “repo”:
(“repo” (リポ) = “repository” (リポジトリ ).)
The more I try to use Japanese, the more I realise there are certain common words I don’t know.
- “to help”/“to assist” - as in “to help with programming”, not “助けて, save me, I’m dying”
- “difficult” - I found “難い” and “難しい”, but I don’t know which is correct
- “to explain” - It seems there are lots of words for ‘explain’.
(Even if I understand those, I’m still bad at ‘conjugating verbs’. Tenses are difficult.)
That’s not necessarily bad, it depends what their goal is.
If they only care about getting employed by a local tech company then not understanding the English probably isn’t important.
If they want to contribute to computer science academically (i.e. through research and PHDs and things) then they’ll probably need to understand enough English to write a research paper in English.
Equally, if they only want to be employed as a programmer they don’t need to understand all algorithms in detail, they only need a basic understanding.
But if they want to do academic stuff, understanding algorithms is usually quite important.
Strictly speaking for making small video games neither are important, but they’d be useful for making larger video games.
Keep helping them. Helping people is a good thing to do.