mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2026-01-07 19:02:37 -08:00
Updated Lua porting notes
This commit is contained in:
@@ -4,8 +4,13 @@ Conversion to [Lua](https://www.lua.org/) by Alex Conconi
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### Porting notes for Lua:
|
### Porting notes for Lua
|
||||||
|
|
||||||
- This is a straightfoward port with only minor modifications for input validation and text formatting.
|
- This is a straightfoward port with only minor modifications for input
|
||||||
- The "Try again?" question accepts 'y', 'yes', 'n', 'no' (case insensitive), whereas the original BASIC version defaults to no unless 'YES' is typed.
|
validation and text formatting.
|
||||||
- The "How many rolls?" question presents a more user friendly message in case of invalid input.
|
|
||||||
|
- 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.
|
||||||
|
|||||||
Reference in New Issue
Block a user