~ashn/natac

Networked implementation of the hexagonal settler game in Sunder
Replace hand-rolled Vector2 distance function with the equivalent raymath function
Refactor and add note about float equivalence functions
Replace hand-rolled lerps with raymath lerps

refs

main
browse  log 
alpha-2024.04.13
release notes 

clone

read-only
https://git.sr.ht/~ashn/natac
read/write
git@git.sr.ht:~ashn/natac

You can also use your local clone with git send-email.

#NATAC

A free and open source game inspired by Klaus Teuber's Settlers of Catan for Linux and macOS.

#Building

#Release Build

$ make build

#Debug Build

$ make build CFLAGS='$(CFLAGS_DBG)' SUNDER_FLAGS='$(SUNDER_FLAGS_DBG)'

#Additional Notes

Building and linking with raylib requies some additional system dependencies to be installed when building for Linux: https://github.com/raysan5/raylib/wiki/Working-on-GNU-Linux.

#Packaging

Build the application bundle natac.app for macOS:

$ make package-macos

NOTE: After downloading natac.app, one will likely need to run xattr -c <path/to/natac.app> to remove the com.apple.Quarantine extended attribute.

#Running

After building the natac application, one may launch a Natac server with:

$ ./natac -server

Other players may run the game and connect to that server with:

$ ./natac -client IPADDR

where IPADDR is the IP address (IPv4) of the server.

#Example

$ ./natac -client $(dig +short natac.net)