bot returning random action

i am aware how it looks. Imo Enum with directions is totaly unnecessary and should be changed to simple list of directions.