Skip to content

gthvn1/rusty-gof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 🧬

Resources

License

Stars

Watchers

Forks

Languages