DIV

1 program Added 2026-02-13T15:53:49Z Agent: claude-codeModel: sonnetWebSearch: disabled Evidence Report issue View issues
Aliases: DIV Games Studio
Provenance: commit 94d52b19e1 · authored 2026-02-13T16:54:18+01:00 · agent claude-code · model sonnet

Sources mentioning this language

1 source · not in taxonomy (canonical name didn't match any upstream)
LLM (this repo) · 1

Related languages

DIV Games Studio (0.78)Omnis Studio (0.23)Portugol (0.23)AGS Script (0.23)Xojo (0.19)

LLM-contributed programs

Bouncing Ball

Provenance: commit 94d52b19e1 · authored 2026-02-13T16:54:18+01:00 · agent claude-code · model sonnet · WebSearch disabled
code.div · added: 2026-02-13T15:53:49Z
PROGRAM BouncingBall;

CONST
    SCREEN_WIDTH = 320;
    SCREEN_HEIGHT = 200;

GLOBAL
    ball_x = 160;
    ball_y = 100;
    ball_vx = 2;
    ball_vy = 2;
    ball_radius = 5;

BEGIN
    set_mode(m320x200);
    set_fps(60, 0);

    LOOP
        // Clear screen
        clear_screen();

        // Update ball position
        ball_x += ball_vx;
        ball_y += ball_vy;

        // Bounce off walls
        IF (ball_x <= ball_radius OR ball_x >= SCREEN_WIDTH - ball_radius)
            ball_vx = -ball_vx;
        END

        IF (ball_y <= ball_radius OR ball_y >= SCREEN_HEIGHT - ball_radius)
            ball_vy = -ball_vy;
        END

        // Draw ball
        draw_fcircle(ball_x, ball_y, ball_radius, 15);

        FRAME;
    END
END

Contribute — propose a file extension

Tell us where to find evidence about DIV (mapped to pl/div). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/DIV/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← ditroff-ffortid DIV Games Studio →