// { h } { v1.2 }
// Author: u/izder456
// Description: vry funy

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <tice.h>

/* Standard headers */
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

/* Put function prototypes here */
void printText(const char *text, uint8_t x, uint8_t y);

/* Put all your code here */
void main(void)
    /* Initialize some gfx_SetDrawBuffer */
    const char* H = "h";
    const char* sub = "r/TheLetterH";
    const char* user = "u/izder456";
    int i;
    /* Clear the homescreen */

    for (i=0; i<=250; i++)
        /* Print a some sheiße */
        printText(H, randInt(0,25), randInt(0,8));
        printText(sub, 0, 9);
        printText(user, 14, 9);
    while (!os_GetCSC());

/* Draw text on the homescreen at the given X/Y cursor location */
void printText(const char *text, uint8_t xpos, uint8_t ypos)
    os_SetCursorPos(ypos, xpos);

inspired by https://reddit.com/r/TheLetterH
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
Page 1 of 1
» All times are GMT - 5 Hours
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum