diff --git a/README.md b/README.md
index 516b0e3..b9051fc 100644
--- a/README.md
+++ b/README.md
@@ -2292,8 +2292,8 @@ async def main_coroutine(screen):
async def random_controller(id_, moves):
while True:
- move = id_, random.choice(list(D))
- moves.put_nowait(move)
+ d = random.choice(list(D))
+ moves.put_nowait((id_, d))
await asyncio.sleep(random.random() / 2)
async def human_controller(screen, moves):
diff --git a/index.html b/index.html
index ccdec7e..482154d 100644
--- a/index.html
+++ b/index.html
@@ -2015,8 +2015,8 @@ D = enum.Enum('D', 'n
async def random_controller(id_, moves):
while True:
- move = id_, random.choice(list(D))
- moves.put_nowait(move)
+ d = random.choice(list(D))
+ moves.put_nowait((id_, d))
await asyncio.sleep(random.random() / 2)
async def human_controller(screen, moves):