Making a single player fps for class but need help with it!

Please I need help making shooting and wall running code for my fps I am going to make 1 map then test but I need help if you want just write out the code but it would be nice if you could explain a bit of the coding process to me so I understand. taking volunteers