WIP : still erratic ---

This commit is contained in:
Jean Sirmai 2021-12-08 23:24:25 +01:00
parent c684bab6e3
commit 393303dbc5
Signed by: jean
GPG Key ID: FB3115C340E057E3
2 changed files with 25 additions and 0 deletions

Binary file not shown.

25
src/glimpse.py Normal file
View File

@ -0,0 +1,25 @@
import model
sp = model.testmodel.get_states().get_space(0)
arrows= []
for x in range (0,6):
arrows.append(sp.get_arrow(x).get_coord("x"))
print (arrows)
space = []
for i in range (0,30):
for k in range (0,6):
if arrows[k] == i:
space.append(1)
else:
pass
space.append(0)
print (space)