basic-computer-games icon indicating copy to clipboard operation
basic-computer-games copied to clipboard

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

Open robertlagrant opened this issue 2 years ago • 4 comments
trafficstars

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

robertlagrant avatar Jul 31 '23 17:07 robertlagrant

should we do a pull request?

coding-horror avatar Jul 31 '23 21:07 coding-horror

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.

cocochief4 avatar Oct 23 '23 21:10 cocochief4

So is the readme wrong, or the code?

coding-horror avatar Oct 31 '23 04:10 coding-horror

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: @.***>

cocochief4 avatar Nov 01 '23 14:11 cocochief4