36 lines
395 B
Markdown
36 lines
395 B
Markdown
|
|
||
|
|
||
|
|
||
|
|
||
|
# Blank
|
||
|
<div style="text-align: center"><img src="screenshot.png" alt="" /></div>
|
||
|
|
||
|
This example contains the minimal amount of code needed to create a working
|
||
|
Game Boy game. Though not a very exciting one.
|
||
|
|
||
|
## Source
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
All a GBDK game needs to compile and run (any C-program, in fact) is a main
|
||
|
function. This is the entry point into your program.
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
```c
|
||
|
void main() {
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
```
|
||
|
|
||
|
|
||
|
|