this is an API of duckwars in Python