Skip to content

Instantly share code, notes, and snippets.

@edin-m
Created December 14, 2022 07:16
Show Gist options
  • Save edin-m/035c2bceebf61d18d421a1f8fd1bae2f to your computer and use it in GitHub Desktop.
Save edin-m/035c2bceebf61d18d421a1f8fd1bae2f to your computer and use it in GitHub Desktop.

Revisions

  1. edin-m created this gist Dec 14, 2022.
    13 changes: 13 additions & 0 deletions libbgi_example.cpp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #include "graphics.h"

    int main( )
    {
    initwindow(400, 300, "First Sample");
    while (!kbhit())
    {
    cleardevice();
    circle(mousex(), mousey(), 40);
    delay(16);
    }
    return 0;
    }