Closed ghost closed 10 years ago
change 2048.so to 2048.dll
Not sure why it's not working under Ubuntu. Make sure the browser remote control extension is active, and that it's not being blocked by a firewall (though that would be pretty weird for localhost).
I was having the same issue, I found out that I had the remote control installed but not elabled. I've put the remote control on Firefox toolbar, clicked in it so that the icon got green, and then all worked fine.
I'm trying to use 2048.py but it dosen't work Here the error: Traceback (most recent call last): File "C:\Users\Fabio\Desktop\2048-ai-master\2048.py", line 10, in ailib = ctypes.CDLL('bin/2048.so') File "C:\Python27\lib\ctypesinit.py", line 365, in init self._handle = _dlopen(self._name, mode) WindowsError: [Error 126] The specified module could not be found
Running under windows 8, build using mvsc, python version 2.7.6
Also using 2048 python under ubuntu 13.10, python version 2.7.5 dosen't work. Here the error: Traceback (most recent call last): File "2048.py", line 110, in
rungame(sys.argv[1:])
File "2048.py", line 80, in rungame
ctrl = BrowserRemoteControl(port)
File "/home/user/Desktop/2048-ai-master/gamectrl.py", line 11, in init
self.sock.connect(('localhost', port))
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 111] Connection refused