coding-horror / basic-computer-games

An updated version of the classic "Basic Computer Games" book, with well-written examples in a variety of common MEMORY SAFE, SCRIPTING programming languages. See https://coding-horror.github.io/basic-computer-games/
The Unlicense
10.84k stars 1.33k forks source link

Battle doesn't seem to accept the num,num format suggested in the readme #868

Open robertlagrant opened 1 year ago

robertlagrant commented 1 year ago

See title - it only seems to accept the single digits 1-6.

coding-horror commented 1 year ago

should we do a pull request?

cocochief4 commented 10 months ago

It should accept values only from 1-6 because that is the size of the grid. The docs also says that these are the acceptable values.

coding-horror commented 10 months ago

So is the readme wrong, or the code?

cocochief4 commented 10 months ago

Both are correct. The only valid values for x, y are integers 1 - 6.

On Mon, Oct 30, 2023 at 9:28 PM Jeff Atwood @.***> wrote:

So is the readme wrong, or the code?

— Reply to this email directly, view it on GitHub https://github.com/coding-horror/basic-computer-games/issues/868#issuecomment-1786427999, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALI6VQFY2Z6TLUMRW3KNETTYCB45NAVCNFSM6AAAAAA26TETA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBWGQZDOOJZHE . You are receiving this because you commented.Message ID: @.***>