-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTODO
60 lines (56 loc) · 2.74 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
[x] start a tetrix game on request
[x] accept user input a byte at a time (input thread? how would that work?)
[x] poll tetrix gamewrapper for events
[x] interpret events and send to telnet buffer.
[x] interactive help so they know how to, like, "start" the game.
[x] real-deal logging
[x] improve overall display - ANSI colors, score, lines
[x] lib -> fix bug that prevents shapes from moving to right edge.
[x] shape position update from library
[x] re-do shape rendering
[x] shape update on rotation
[x] why is there an awkard pause after a drop - it's because the drop ends at y = 1, not y = 0
[x] shape update after drop
[x] shape update on lock?? (same as drop??)
[x] use the colors from the ShapeRep
[x] fix the background color
[x] erase lines when completed!
[x] store colors in board data - use u8 instead of bits
[x] when a line is completed send new board data for a board redraw
[x] redraw the board, if it exists.
[x] only send the line completion when the line status changes.
[x] send board info along w/ line completion
[x] what is up with El and ElInv facing down? Seems like they are causing display issues.
- the issue was the representation of the El in the library code. it landed differently than
- the client expected, so the shape would go to 0,0 but the occupation matrix was off by one.
[x] there's a line clear bug - try and undersstand what's happening.
[x] horizontal collision bug between Horizontal Eye and Up-oriented El
[x] add score display
[x] add next shape display to client
[x] infinite loop on Eye kick. what gives??
[x] make "next shape" label move with the shape height
[x] rotation collision bugs with other shapes: Eye shape still has a bug when colliding with shapes.
[x] add level increaser in wrapper
[x] add level display
[x] add hold control to client
[x] add reserved shape display to client
[x] arrow keys in addition to jkl for controls
[x] aftertouch to...library?
[x] GAME OVER / [r]estart or [Q]uit?
[x] reset lvl to zero after the game ends
[x] show title screen
[x] look into mysterious lockup on line completion
[x] clean up line numbers that were for debugging
[x] fix aftertouch for floored shapes
[x] adjust hold behavior so you can only switch the shape once per drop
[x] investigate hold behavior that causes display bug
[x] cyan Z leaves ANSI control codes from time to time...
[ ] do we really need a mutex around the telnet client's stream??
[ ] black out the background on connect
--- extras ---
[ ] add background colors to shaperep
[ ] map drop to spacebar, down to 'k'
[ ] it sure would be cool to watch other games....
[ ] it sure would be cool to get a game list...
[ ] telnet negotiate width and store per client. crop or pad ansi graphic from 80 characters
[ ] redraw on client IAC SB NAWS w/ padding