Skip to content

kenkinming2002/voxy-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

651 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voxy

A voxel game in pure C and OpenGL just because I can.

Screenshot

Awesome screenshot It would be a shame to not put an image that show how awesome cursed this game is.

Usage

Generate a self-signed server certificate:

$ openssl genrsa -out key.pem 4096 # Generate RSA private key
$ openssl req -new -key key.pem -out csr.pem
$ openssl x509 -req -in csr.pem -signkey key.pem -out cert.pem

Compile:

$ cc build.c -o build                        # Bootstrap the build system
$ CC=<YOUR_CC> CFLAGS=<YOUR_CFLAGS> ./build  # Generate ninja build file
$ ninja                                      # Invoke ninja build

Run:

$ export PORT=...
$ export ADDRESS=...
$ ./bin/voxy/server/voxy-server $PORT cert.pem key.pem ./bin/mod/base/server/base-server.so # Server
$ ./bin/voxy/client/voxy-client $ADDRESS $PORT world ./bin/mod/base/client/base-client.so # Client

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages