~stilbruch/cobble

a minecraft server in c99
Fixed some issues with the buffer_write_varint that broke tests
25bc9260 — stilbruch a month ago
Cleaning up a bit
6b7456d9 — stilbruch a month ago
Merge branch 'master' of git.sr.ht:~stilbruch/cobble

clone

read-only
https://git.sr.ht/~stilbruch/cobble
read/write
git@git.sr.ht:~stilbruch/cobble

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

 
                                                 |>>>
                                                 |
                                             _  _|_  _
                                            |;|_|;|_|;|
                                            \\.    .  /
                                             \\:  .  /
             cobble                           ||:   |
                                              ||:.  |
     a minecraft server in c99                ||:  .|
                                              ||:   |       \,/
                                              ||: , |            /`\
                                              ||:   |
                                              ||: . |
               __                            _||_   |
      ____--`~    '--~~__            __ ----~    ~`---,              ___
 -~--~                   ~---__ ,--~'                  ~~----_____-~'   `~--

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
LAST UPDATED: 2019-12-17 ~ stilbruch
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[Table of Contents]:
...0: What is this?
...1: Features (current and planned)
...2: Getting the source
...3: Compiling
...4: Configuring
...5: Credits
...6: Contact
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[0: What is this?]:

cobble is a lightweight minecraft server for *nix systems written from
scratch in c99. cobble is a hobby project, but I plan to implement at least
a bare bones server that anyone can play around with.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[1: Features (current and planned)]:

Features (a little lackluster right now)
 * support for server ping
 * config.h based configuration system
 * functional NBT library
 * custom test framework for unit testing

Planned Features
 * online login
 * chat
 * multiple users
 * commands
 * plugins (in c of course)
 * protocol compression
 * basic entity support
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[2: Getting the source]

Currently, the only place to find the source is on sourcehut. You can find
it at https://git.sr.ht/~stilbruch/cobble

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[3: Compiling]:

Compiling is all handled by a single makefile. The following dependencies
required in order to build:
 * openssl
 * pthread
 * zlib

gcc is set in the makefile as the compiler, but this can be easily changed.
In theory everything should work with a different compiler, although if it
does not please get in contact with me and let me know.

/* TODO write about the different targets and the tests */

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[4: Configuring]:

All configuration is done through editing the config.c and config.h files
suckless style.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[5: Credits]:
~stilbruch (me :D)
rxi (https://github.com/rxi) - 2 tiny c libraries (log.h and dyad) included
in this project.

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
[6: Contact]:

You can email me at stilbruch(at)protonmail.com, or come talk to me on the
tildeverse.org irc network, I'm there all the time.