A python based battleship emulator