linting, added porting notes for Lua

This commit is contained in:
aconconi
2022-10-08 20:16:30 +02:00
parent c7ed271201
commit 71d53f167e
2 changed files with 12 additions and 5 deletions

View File

@@ -1,3 +1,11 @@
Original source downloaded [from Vintage Basic](http://www.vintage-basic.net/games.html)
Conversion to [Lua](https://www.lua.org/)
Conversion to [Lua](https://www.lua.org/) by Alex Conconi
---
### Porting notes for Lua:
- This is a straightfoward port with only minor modifications for input validation and text formatting.
- The "Try again?" question accepts 'y', 'yes', 'n', 'no' (case insensitive), whereas the original BASIC version defaults to no unless 'YES' is typed.
- The "How many rolls?" question presents a more user friendly message in case of invalid input.