Logic that doesn't work

In the move method, the logic is sound, but there is no visible effect.
There might be an issue with drawing method