emiliollbb's brewery

Brewing software for fun since 1999

C + SDL

The all times classic. Full control over CPU & GPU

My Brews

Pong

pong screenshot

The classic game. Who can not code this one? [source]

Duck Hunter

Duck Hunter screenshot

Tribute to NES Duck Hunt [source]

Learn to Brew

Quick Start Guide

  1. Install GNU Development tools
    apt-get install build-essential
    apt-get install libsdl2-dev
    apt-get install libsdl2-ttf-dev
    apt-get install libsdl2-image-dev
    apt-get install libsdl2-mixer-dev
  2. Install webassembly tools
    # Get the emsdk repo
    git clone https://github.com/emscripten-core/emsdk.git
    
    # Download and install the latest SDK tools.
    ./emsdk install latest
    
    # Make the "latest" SDK "active" for the current user. (writes ~/.emscripten file)
    ./emsdk activate latest
    
    # Activate PATH and other environment variables in the current terminal
    source ./emsdk_env.sh