summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Drop trailing whitespace. Remove superfluous .br.wiz2006-01-221-7/+6
|
* better handle ^d in getinp(), so we dont loop endlessly.elad2006-01-201-6/+5
| | | i have no idea why i wanted to play this game.
* oops, make this install to /usr/games and not /...elad2006-01-201-1/+5
| | | noted by hannken@, thanks.
* Descend to moduli too.elad2006-01-191-2/+2
|
* Add qsieve and qsafe, two programs used for generating the moduli file.elad2006-01-199-0/+1105
| | | | | | These were written by William Allen Simpson and submitted in PR 21983, and are added with minor adjustments and nits from christos@ and myself. Approved by christos@ and groo@.
* Fix some minor buglets in wump:garbled2006-01-192-7/+11
| | | | | | | | | | 1) Don't put two pits in the same room. 2) Don't put bats and pits in the same room. (you will never hit the bat) 3) Don't start the player in a room with a pit or bad, if possible. Some caves are so crowded the loop may go on forever, so we give up after 100 tries to put them in a safe location (as long as it's not with the wumpus). 4) Make the manpage reflect reality WRT the default number of rooms. Bug #3 pointed out by salo.
* Apply patch from PR bin/26501 to fix hang in wump if you play too manygarbled2006-01-191-8/+7
| | | | | | games in a row. Also modify change made in rev 1.18 to work correctly. take_action() returns 1 if the player dies, causing the game to allways exit after any death, now the game correctly asks if the player would like to play again.
* Simplify error checking.christos2005-11-191-7/+9
|
* Replaced one instance of err() with errx(), as the value of errno might notrillig2005-11-191-3/+3
| | | be correct at that time.
* Typos, duplicate words, consistent formatting.mjl2005-10-291-9/+5
|
* Remove trailing spaces, double spaces between words, fix some typos.mjl2005-10-291-59/+62
|
* Correct typos.mjl2005-10-292-2/+2
|
* Removed the unnecessary #include <ctype.h>.rillig2005-10-181-3/+2
|
* Fix two lines which were broken by previous commit. Noticed by Thomasrpaulo2005-10-121-4/+2
| | | Klausner.
* misc/31566: Jaap Boender: update African and Asian capitals to therpaulo2005-10-122-30/+52
| | | current situation.
* Added an empty line to conform to KNF.rillig2005-10-081-2/+3
|
* Drop trailing whitespace.wiz2005-09-153-46/+46
|
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-1521-97/+98
| | | Sort sections if necessary. Use more/better markup.
* Sulfur|Sulphur -> Sul[f|ph]urperry2005-08-141-1/+1
|
* Sulfur -> Sulfur | Sulphurperry2005-08-141-1/+1
|
* er, forgot the C{a}esium change in the lastperry2005-08-141-1/+1
|
* 1) Update atomic weights.perry2005-08-141-73/+84
| | | | | | | | | | | The weights here are taken from http://www.iupac.org/publications/pac/2003/7508/7508x1107.html and have been rounded to four significant figures in all cases. In the case of elements that have no isotopes stable enough for reasonable measurement, numbers have been updated from Zumdahl, "Chemistry", Fifth edition and are presented (as before) in parentheses. 2) Cesium is now C{a}esium 3) A number of new elements have been added at the end of the periodic table.
* Aluminum -> Alumin{i}umperry2005-08-141-1/+1
| | | | Aluminium is really the official name, but doing it this way allows entry of either answer.
* Sulphur -> Sulfurperry2005-08-141-1/+1
| | | | | Although the traditional spelling in commonwealth countries is "Sulphur", the official IUPAC name of the element is "Sulfur", and even the Royal Society of Chemistry now spells it "Sulfur".
* Added a missing '-' in score list output.rpaulo2005-08-101-3/+3
|
* Pass lint(1).rpaulo2005-08-107-248/+271
|
* Enable WARNS=3.rpaulo2005-08-101-1/+2
|
* Fixed an output bug where a new-line was added due the usage of puts(3).rpaulo2005-08-101-4/+4
|
* Pass lint(1).rpaulo2005-08-101-3/+5
|
* Enable WARNS=3.rpaulo2005-08-101-1/+2
|
* add a new style cast to memcpy.christos2005-08-091-3/+3
|
* Enable WARNS=3 and pass lint(1).rpaulo2005-08-092-24/+26
| | | ok christos@
* Pass WARNS=3christos2005-08-096-28/+29
|
* Comment from Al.cjs2005-07-231-0/+2
|
* Aligned the usage message from the program with the one mentioned in therillig2005-07-221-3/+3
| | | man page.
* - caesar(6) is not a SETGIDGAME, so we don't need to revoke any privileges.rillig2005-07-221-56/+71
| | | | | | | | - replaced direct POSIX read/write with stdio, which made the code simpler. - added even more error checking. - restructured the code to make each function fit on one screen (well, except one). - now the code reflects the intended purpose of the program. - return 0 instead of EXIT_FAILURE on success.
* Quote macro.wiz2005-07-051-2/+2
|
* Tidy up curses state when we quit, instead of just doing exit().jdc2005-07-022-5/+12
|
* Sort sections. Use mdoc macros. Reformat.wiz2005-07-021-22/+23
|
* Removing trailing spaces.wiz2005-07-021-9/+9
|
* KNF conversionjmc2005-07-022-56/+34
|
* KNF and WARNS=3jmc2005-07-028-166/+87
|
* KNF and WARNS=3jmc2005-07-012-98/+67
|
* KNF and WARNS=3jmc2005-07-019-126/+81
|
* Remove the -t flag from the usage.peter2005-07-011-2/+2
|
* KNF and WARNS=3jmc2005-07-0118-402/+671
|
* Whitespace fixjmc2005-07-011-9/+8
|
* KNF and WARNS=3 fixesjmc2005-07-0118-222/+192
|
* KNF and WARNS=3 fixesjmc2005-07-019-244/+185
|
* KNF and WARNS=3jmc2005-07-0111-252/+236
|