oop snake