_code

This page will include all of the small hacking/coding projects I've worked on throughout the years but the main focus is the Tank! game a project born a lot of years ago to learn Allegro 3.5. I'd like to continue working on many of those projects, but I simply don't have enough time.

▄▄▄█████▓ ▄▄▄       ███▄    █  ██ ▄█▀ ▐██▌ 
▓  ██▒ ▓▒▒████▄     ██ ▀█   █  ██▄█▒  ▐██▌ 
▒ ▓██░ ▒░▒██  ▀█▄  ▓██  ▀█ ██▒▓███▄░  ▐██▌ 
░ ▓██▓ ░ ░██▄▄▄▄██ ▓██▒  ▐▌██▒▓██ █▄  ▓██▒ 
  ▒██▒ ░  ▓█   ▓██▒▒██░   ▓██░▒██▒ █▄ ▒▄▄  
  ▒ ░░    ▒▒   ▓▒█░░ ▒░   ▒ ▒ ▒ ▒▒ ▓▒ ░▀▀▒ 

 tank! a human vs human tank game written in
 allegro 5 api just for fun :-)

2024/09/29 > a sega genesis port?

I'm looking this beauty, could be a great excuse to develop some code for SEGA Genesis. Check the hello world example:

main.c:

#include <genesis.h>
#include "engine.h"

int main(){
    draw_screen();

    while(1){
        SYS_doVBlankProcess();
    }

    return 0;
}

engine.c:

#include <genesis.h>
#include "engine.h"

void draw_screen(){
    VDP_drawText("Hello GENESIS!", 8, 12);
}

engine.h:

#ifndef _ENGINE_H
#define _ENGINE_H

void draw_screen();

#endif

2024/07/27 > project updated to allegro 5.2.9.1

I was compile the project under Allegro 5.2.9.1 (latest at this moment). Great news, it works like a charm.

2023/11/14 > first entry!

Hell yeah! Tank! is a recreational programming 16 bits-like game created on C Programming Language and Allegro 5 API. The objective is to get highly portable and optimized code. In further entries, I will post about technical decisions, blockers, improvements, and of course, a lot of code. C code.