As an exercise I have recreated Link from Link to the Past(LTTP) in voxel form and implemented his basic sword and spin attack. It was enjoyable to trawl through the various sprite sheets other asset rips available out there on the internets.
Movement: WASD or Arrow keys
Sword Attack: Left Click or X
Charge Attack: Hold Left Click or X and let go at the appropriate time