diff --git a/1993/rince/README.md b/1993/rince/README.md index 2e21851d3..f93c9d877 100644 --- a/1993/rince/README.md +++ b/1993/rince/README.md @@ -7,40 +7,44 @@ England -# To build: +## To build: make all -[Yusuke Endoh](/winners.html#Yusuke_Endoh) supplied a patch to get this to work +[Yusuke Endoh](/winners.html#Yusuke_Endoh) supplied a patch to get this to work in modern systems. Thank you Yusuke! -# Judges' comments: - To run: - make rince - rince [cabbage] +## To run: - where: - [cabbage] a CABBAGE description file (default: rince.c) + ./rince [cabbage] + +where: + [cabbage] a CABBAGE description file (default: `rince.c`) + + + + + + +## Judges' comments: - The author has provided several CABBAGE files for your amusement: +The author has provided several CABBAGE files for your amusement: - rince.data1 plays breakout. Keys are ',' for left, '/' - for right, and '.' for 'fire the ball'. +- `rince.data1` plays breakout. Keys are ',' for left, '/' for right, and '.' for 'fire the ball'. - rince.data2 plays the old rince game from IOCCC 1991 +- `rince.data2` plays the old rince game from IOCCC 1991. - rince.data3 Sokoban screen 11. You are the 'o' character. You - must push the money 'm' into the dotted region of - the screen. The game is considered finished when - all the 'm's are then 'M's. +- `rince.data3` Sokoban screen 11. You are the 'o' character. You must push the +money 'm' into the dotted region of the screen. The game is considered finished +when all the `m`s are then `M`s. - rince.data4 Sokoban screen 13. Same rules as above. +- `rince.data4` Sokoban screen 13. Same rules as above. - For a brief design description, see rince.design. +For a brief design description, see [rince.design](rince.design). - The select(2) from SunOS says: +The `select(2)` from SunOS says: BUGS @@ -52,77 +56,85 @@ in modern systems. Thank you Yusuke! system. Thus, it is unwise to assume that the timeout pointer will be unmodified by the select() call. - Systems such as Linux does return the remaining time in timeout - field (0 if no keys were pressed), but `rince' assumes that - timeout remains unmodified. +Systems such as Linux does return the remaining time in timeout +field (0 if no keys were pressed), but `rince` assumes that +timeout remains unmodified. - It has been suggested that: +It has been suggested that: select(k,&y,0,0,&v) - should be replaced with: +should be replaced with: select(k,&y,0,0,(v.tv_usec=1<