mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-29 14:15:08 -08:00
One more implementation note
This commit is contained in:
@@ -15,6 +15,7 @@ At a command or shell prompt in the `rust` subdirectory, enter `cargo run`.
|
||||
## Differences from Original Behavior
|
||||
|
||||
* The simulation stops if all cells die.
|
||||
* `.` at the beginning of an input line is supported but optional.
|
||||
* Input of more than 66 columns is rejected. Input will automatically terminate after 20 rows. Beyond these bounds, the original
|
||||
implementation would have marked the board as invalid, and beyond 68 cols/24 rows it would have had an out of bounds array access.
|
||||
* The check for the string "DONE" at the end of input is case-independent.
|
||||
|
||||
Reference in New Issue
Block a user