gthvn1 / rusty-gof

Game of Life using Rust and Raylib 🧬

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Game of Life

Just play with raylib and rust. Why not writing a Game of Life in Rust with Raylib bindings :)

Description of steps

Linking with Hello C

To be able to use raylib we first need to be able to link our rust code with C code. So the first step is to call a C function that is implemented in clib/.

Note: code hase been removed but it has been tagged hello before doing so.

Linking with Raylib

  • Important: To run it you need to create a directory raylib/ and copy the libraylib.a. Raylib can easly be compiled from github:raylib. Otherwise you can modify build.rs to fit your needs.

  • run: cargo run -- --fname examples/input.gol

Steps

Screenshots

About

Game of Life using Rust and Raylib 🧬

License:GNU General Public License v3.0


Languages

Language:Rust 100.0%