summaryrefslogtreecommitdiffstats
path: root/tetris/tetris.c
Commit message (Expand)AuthorAgeFilesLines
* tetris: Use arc4random_uniform instead of modulo for better randomnessnia2020-07-211-2/+1
* Center game board on screen. OK from christos@.nat2016-03-031-1/+2
* PR/50411: Rin Okuyama: fix two bugs:christos2015-11-061-1/+3
* add -b to usage, from leotdholland2015-06-131-2/+2
* Fix the list of keys across the bottom so it fits on an 80-column screendholland2015-06-131-2/+2
* add a 'down' key to tetris, defaulting to 'n'. it move the block downmrg2015-02-191-8/+17
* At suggestion of christos@, use -b for b&w rather than -cpgoyette2014-07-131-3/+3
* Provide an option to restore traditional black-and-white mode.pgoyette2014-07-131-2/+6
* Add a little color. In order to minimize logic differences, keep 0 as thechristos2014-06-111-2/+2
* NULL does not need a castplunky2011-08-311-2/+2
* Fix a few of the games to use getprogname() in their usage() functions.pgoyette2010-12-051-2/+3
* sprinkle staticdholland2009-08-121-9/+8
* ANSIfy function declarations.dholland2009-05-251-9/+6
* sprintf -> snprintfdholland2009-05-251-2/+2
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-3/+3
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-4/+4
* Remove uses of __P.jsm2004-01-271-6/+6
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
* de-registerwiz2002-06-021-8/+8
* Clean up error reporting in tetris.jsm2000-01-211-9/+5
* Declare variables as extern in headers rather than using linker commons.jsm2000-01-011-1/+14
* Security improvements for games (largely from or inspired by OpenBSD).jsm1999-09-121-1/+14
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-081-2/+2
* Add use of `const' where appropriate to the games.jsm1999-09-081-3/+3
* Newline and usage cosmetics from Soren S. Jorvang <soren@t.dk> PR7205abs1999-03-221-4/+4
* Remove unneeded "mips compiler bug" workaround from original code importedsimonb1999-02-111-5/+1
* only show preview if the -p option is givenhubertf1999-01-031-7/+6
* Add previewing of next shape. Old (previous) behaviour can behubertf1999-01-031-4/+11
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-3/+3
* bzero->memsetperry1998-08-101-2/+2
* minor WARNSifylukem1997-10-121-7/+10
* NetBSD RCS Idscgd1995-04-221-0/+2
* ascii tetris!cgd1994-05-061-0/+312