roll back delete functions
fix error codes
add game test