Make executible, add more info to docstring

This commit is contained in:
Christopher Phan
2022-03-10 22:32:22 -06:00
parent 87aebad1db
commit f0a31894ef

11
72_Queen/python/queen.py Normal file → Executable file
View File

@@ -1,4 +1,13 @@
"""Implementation of queen.bas to Python.""" #!/usr/bin/env python3
"""
Implementation of Queens game in Python 3.
Original game in BASIC by David Ahl in _BASIC Comuter Games_, published in 1978,
as reproduced here:
https://www.atariarchives.org/basicgames/showpage.php?page=133
Port to Python 3 by Christopher L. Phan <cphan@chrisphan.com>
"""
from typing import Final, Optional from typing import Final, Optional
from random import random from random import random