controls

so i am working on this type of game ( i dont know what to call it) where you see from above and when you press a directional key the character moves one step that direction. i do not know how to make the controls and cant find a template for it. can anyone help me with this?
Comments
The first one here probably isnt what you need, but it's good to watch them all.