From f0a31894efda99a1e1f9e64a124126a015b7c127 Mon Sep 17 00:00:00 2001 From: Christopher Phan Date: Thu, 10 Mar 2022 22:32:22 -0600 Subject: [PATCH] Make executible, add more info to docstring --- 72_Queen/python/queen.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) mode change 100644 => 100755 72_Queen/python/queen.py diff --git a/72_Queen/python/queen.py b/72_Queen/python/queen.py old mode 100644 new mode 100755 index 4a87de87..625f121c --- a/72_Queen/python/queen.py +++ b/72_Queen/python/queen.py @@ -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 +""" from typing import Final, Optional from random import random