bsdgames worm, ported to Python and improved
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import ctypes |
|
import sys |
|
|
|
worm = ctypes.cdll.LoadLibrary('./libworm.so') |
|
|
|
if len(sys.argv) == 2: |
|
worm.run_size(int(sys.argv[1])) |
|
else: |
|
worm.run_size(10)
|
|
|