HomeSort by: relevance | last modified time | path
    Searched refs:shapes (Results 1 - 4 of 4) sorted by relevancy

  /src/games/tetris/
tetris.h 47 * shapes appear. Columns 0 and 11 are always occupied, as are all
87 * are 7 basic shapes, each consisting of four `blots':
107 * The game works by choosing one of these shapes at random and putting
117 * While the shapes are falling, the user can rotate them counterclockwise
119 * rotation puts the blots in empty spaces. The table of shapes is set up
123 * the primary shapes, and the remaining 12 represent their various
132 extern const struct shape shapes[];
133 #define randshape() (&shapes[arc4random_uniform(7)])
138 * Shapes fall at a rate faster than once per second.
Makefile 5 SRCS= input.c screen.c shapes.c scores.c tetris.c
shapes.c 1 /* $NetBSD: shapes.c,v 1.9 2014/06/11 16:47:39 christos Exp $ */
34 * @(#)shapes.c 8.1 (Berkeley) 5/31/93
38 * Tetris shapes and related routines.
55 const struct shape shapes[] = { variable in typeref:typename:const struct shape[]
tetris.c 65 int Offset; /* used to center board & shapes */
289 const struct shape *new = &shapes[curshape->rot];

Completed in 35 milliseconds