https://github.com/mrsmith33/enet-tutorials
ENet tutorials/examples for D programming language
https://github.com/mrsmith33/enet-tutorials
d dlang enet
Last synced: about 1 month ago
JSON representation
ENet tutorials/examples for D programming language
- Host: GitHub
- URL: https://github.com/mrsmith33/enet-tutorials
- Owner: MrSmith33
- Created: 2014-10-15T19:06:57.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-15T21:58:29.000Z (over 10 years ago)
- Last Synced: 2025-01-20T17:25:01.866Z (3 months ago)
- Topics: d, dlang, enet
- Language: D
- Homepage:
- Size: 313 KB
- Stars: 14
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#Enet tutorials
##About
This is a collection of ENet tutorials and examples written in D programming language.
## Tutorials
1. Simple client/server example. It has Server and Client structs with some convenience methods.
To build use `dub build :tut01`.2. Extends first example by adding abstract Connection class from which both client and server are derived. In this tutorial a packet system is implemented. Serialization/deserealization is done with cbor-d package. Packet system allows for easy sending and receiving of structs. It has a basic chat protocol.
To build use `dub build :tut02`.3. A client/server chat application. Client is a gui application that uses anchovy library for gui. A simple user storage on server is implemented. Client and server implemented as separate configurations, with client being the default one.
Also, a simple `/exit` command is implemented on the server.
You can build a client with `dub build :tut03 --config=client`, or simply by `dub build :tut03`.
A server is built like `dub build :tut03 --config=server`.### Tutorial 3 animation
