How to write a Cheat Engine

Memory scanner article :

I think it’s a great tutorial for me to learn the basis of writing cheat engine .

After reading the article , I think the game hacking process can be organized into the following steps :

1. Select the target game , record the process ID.

2. Find the address that u want to change contents to.

3. Import kernel32.dll which have the library for u to Read or Write process memory.

4. Freeze the content of the address you wanna modify.