c, b = it
        c = c.lower()
        cc = ord(c) - ord("n")
        # print(cc, b)
        print(c, cc % 6, COMMAND_BY_CHAR[c], b)


print_seq()
print()

json = {
    "width": 20,
    "height": 20,
    "filled": [],
    "sourceLength": 1,
    "units": [{"pivot": {"x": 0, "y": 1}, "members": [{"x": 0, "y": 0}]}],
}
marks = []
g = Game(json, 0)
ui = Gui(g)
for it in s.split():
    c, b = it
    print(it, COMMAND_BY_CHAR[c.lower()])
    if b == "1":
        marks.append(next(iter(g.get_current_figure_cells())))
    ui.update(g, marks)
    action = ui.wait_for_action()
    if action is None:
        break
    g.execute_char(c)