made user move and attack