annotate examples/test.nim @ 5:4ed9cb098315

add: structure code for crossplatform, add some input handling + bugfixes
author Sam <sam@basx.dev>
date Thu, 22 Dec 2022 00:06:40 +0700
parents 213fdf8d31dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
1 import engine
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
2
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
3
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
4 when isMainModule:
2
213fdf8d31dd did: hello world triangle, a bit of code organization
Sam <sam@basx.dev>
parents: 0
diff changeset
5 var myengine = igniteEngine()
0
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
6 myengine.fullThrottle()
5daf3f236d87 add: initial version
Sam <sam@basx.dev>
parents:
diff changeset
7 myengine.trash()