Tetris

Check-in [644a991729]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Enable cheat
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | master | trunk
Files: files | file ages | folders
SHA3-256:644a991729f1da1b121a15325df4bc5c0d79a4f7a788a586c757f7deaecb4fca
User & Date: ajv-899-334-8894@vsta.org 2018-03-23 02:23:04
Context
2018-03-23
02:24
Clean git status check-in: 7f053215d1 user: ajv-899-334-8894@vsta.org tags: master, trunk
02:23
Enable cheat check-in: 644a991729 user: ajv-899-334-8894@vsta.org tags: master, trunk
2017-12-16
04:40
Add a shape cheat check-in: e8cf031a4a user: ajv-899-334-8894@vsta.org tags: master, trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to Makefile.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=gcc
# DEBUG=-Wall -DDEBUG -g
DEBUG=-O
CFLAGS=-DURANDOM='"/dev/urandom"' $(DEBUG)

OBJS=input.o scores.o screen.o shapes.o tetris.o random.o
LIBS=-lncurses

tetris: $(OBJS)
	$(CC) $(CFLAGS) -o tetris $(OBJS) $(LIBS)

clean:
	rm -f $(OBJS)
clobber: clean
	rm -f tetris


|












1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
CC=gcc
# DEBUG=-Wall -DDEBUG -g
DEBUG=-O -DCHEAT
CFLAGS=-DURANDOM='"/dev/urandom"' $(DEBUG)

OBJS=input.o scores.o screen.o shapes.o tetris.o random.o
LIBS=-lncurses

tetris: $(OBJS)
	$(CC) $(CFLAGS) -o tetris $(OBJS) $(LIBS)

clean:
	rm -f $(OBJS)
clobber: clean
	rm -f tetris