mirror of
https://github.com/ethauvin/chip-8.git
synced 2025-04-27 17:48:12 -07:00
First commit
This commit is contained in:
commit
ee139eba9b
55 changed files with 1728 additions and 0 deletions
12
roms/Maze (alt) [David Winter, 199x].txt
Normal file
12
roms/Maze (alt) [David Winter, 199x].txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
Maze, by David Winter
|
||||
|
||||
Drawing a random maze like this one consists in drawing random diagonal
|
||||
lines. There are two possibilities: right-to-left line, and left-to-right
|
||||
line. Each line is composed of a 4*4 bitmap. As the lines must form non-
|
||||
circular angles, the two bitmaps won't be '/' and '\'. The first one
|
||||
(right line) will be a little bit modified. See at the end of this source.
|
||||
|
||||
The maze is composed of 16 lines (as the bitmaps are 4 pixels high), each
|
||||
line consists of 32 bitmaps.
|
||||
Bitmaps are drawn in random mode. We choose a random value (0 or 1).
|
||||
If it is 1, we draw a left line bitmap. If it is 0, we draw a right one.
|
Loading…
Add table
Add a link
Reference in a new issue