Skip to content

Rococcoon/Arkanoid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Arkanoid

This project is a C implementation of the classic game Arkanoid, based on the Raylib tutorial. It includes a Makefile to compile the project for both native Linux and WebAssembly using emcc.

Features

  • Native Build: Compile and run on Linux.
  • WebAssembly Build: Compile to WebAssembly for running in the browser.
  • Powered by Raylib, a simple and easy-to-use library for game development.

Prerequisites

Native Linux Build

  • GCC or Clang
  • Raylib installed on your system (sudo apt install libraylib-dev on Debian-based systems)

WebAssembly Build

Installation

  1. Clone the repository:
    git clone https://github.com/Rococcoon/Arkanoid.git
    cd Arkanoid

Install dependencies for your build target:

  • Linux: Install Raylib as described above.
  • WebAssembly: Install and activate the Emscripten SDK.

Build

Linux

  • Compile the project:
    make
  • Run the project:
    ./arkanoid
    

WebAssembly

  • Compile the project:
    ./emcc.sh
  • Serve the files locally (e.g., using Python's HTTP server):
    python3 -m http.server
    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors