• Stars
    star
    102
  • Rank 323,800 (Top 7 %)
  • Language
    C++
  • License
    MIT License
  • Created 11 months ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Some examples on how to use Valve's GameNetworkingSockets library for networking in C++

Walnut Chat

Walnut Chat is a simple client/server text chat app built with Walnut and the Walnut-Networking module. The server currently runs on both Windows (GUI/headless) and Linux (headless only), and the client is Windows only at this stage (Linux support coming soon).

This was built as a demonstration of networking in C++ for a video on my YouTube channel. There is no security so be careful! Definitely don't run this as root on your server/computer and there certainly isn't any message encryption. Watch the video here.

WalnutExample

Walnut Chat Client

Building

Windows

Running scripts/Setup.bat will generate both Walnut-Chat.sln and Walnut-Chat-Headless.sln solution files for Visual Studio 2022. The headless variant will only include the server, running in the headless config (no GUI console app), and the Walnut-Chat solution can be used to build GUI versions of the client and/or server.

Linux (tested on Ubuntu 22)

Run scripts/Setup.sh to generate make files for the headless server project. You can then call make in the root directory of the repository to build.

More Repositories

1

Hazel

Hazel Engine
C++
11,153
star
2

Sparky

Cross-Platform High Performance 2D/3D game engine for people like me who like to write code.
C++
1,087
star
3

Walnut

Walnut is a simple application framework for Vulkan and Dear ImGui apps
C++
770
star
4

OpenGL

OpenGL support library so you can just dive in and write OpenGL code
C++
696
star
5

RayTracing

YouTube ray tracing series
C++
342
star
6

ProjectTemplate

A little quick-start project template for C++ projects which utilise a Core/App project architecture
Lua
308
star
7

Hazel1HourGame

Flappy Bird clone made in a couple of hours for a video using a very primitive version of Hazel.
C++
149
star
8

Flappy

A clone of Flappy Bird made for desktop platforms using Java and OpenGL.
Java
140
star
9

ChernoCraft

A small Minecraft clone in C++.
C++
117
star
10

OneHourParticleSystem

Simple particle system made in one hour: https://youtu.be/GK0jHlv3e3w
C++
111
star
11

ChernoChat

All of the code for the Cherno Chat project, as well as the code for the individual episodes.
Java
88
star
12

HazelAudio

Hazel Audio is an audio library designed for Hazel
C++
77
star
13

Cherno

The Cherno engine, for Ludum Dare.
Java
73
star
14

GameProgramming

The official Game Programming repository!
Java
68
star
15

WalnutAppTemplate

Walnut application template to easily make new Walnut apps
Lua
58
star
16

HazelLua

Scripting submodule for Hazel
C++
41
star
17

Flinty

Flinty is a small, simple library for basic user-controlled hardware-accelerated rendering, as well as general C++ development.
C
30
star
18

Genesis

Genesis is (basically) the first game I ever made - for Ludum Dare 24.
Java
24
star
19

DocumentationWebsite

Example documentation website with mdBook
23
star
20

EventSystem

Basic event system with dispatcher for the following video tutorial. A tutorial can be found here: https://youtu.be/yD47_hq75q0
Java
21
star
21

JavaSerialization

Source code from my YouTube Serialization series: https://www.youtube.com/playlist?list=PLlrATfBNZ98cCfmH0xPebdVVMSYRQfyKi
Java
19
star
22

SparkyTEST

The Sparky (working title) engine!
C++
18
star
23

AnimatedSpriteCompression

Animated sprite compression format using delta encoding.
C
16
star
24

LD32

Ludum Dare 32 game! (Working Title)
C
11
star
25

Growth

My game for Ludum Dare 34!
Java
10
star
26

Shatter

Shatter, a game made by me within 48 hours for Ludum Dare 28!
Java
8
star
27

Beneath

Beneath, for Ludum Dare 29! Theme: Beneath the Surface
Java
7
star
28

Evacuate

Evacuate - my game for Ludum Dare 30. All content made within 48 hours.
JavaScript
5
star