add collision logic
code refactor:
	- add constants
	- add player reset function