Skip to content
geomagas.gr
  • Terms of Use
  • Contact
  • Ελληνικά
geomagas.gr
  • Building a Game Server in C++ #9: A Client Framework
    C++ | Game Server

    Building a Game Server in C++ #9: A Client Framework

    ByGeorge January 25, 2026June 22, 2026

    Now that my game server is at a decent level of development, and I have two fairly simple games to experiment with, I want to concentrate to the client side. Some time ago I came up with a Client class which facilitates the communication with the server. In this article, I want to define a…

    Read More Building a Game Server in C++ #9: A Client FrameworkContinue

  • An MVC Christmas Tree in C++ and ncurses
    C++ | ncurses

    An MVC Christmas Tree in C++ and ncurses

    ByGeorge December 22, 2025June 22, 2026

    While playing with C++ templates lately, I came up with an Oscillator class, which executes a custom task with a given frequency. In fact, it’s a family of classes, given that the frequency is parametric. Moreover, I can give the constructor a delay (in milliseconds), in case I need to postpone the first task execution:…

    Read More An MVC Christmas Tree in C++ and ncursesContinue

  • Building a Game Server in C++ #8: Tic Tac Toes
    C++ | Game Server

    Building a Game Server in C++ #8: Tic Tac Toes

    ByGeorge December 12, 2025June 22, 2026

    I want to build a second little game of my server. In fact, I will build two versions of it (hence the plural): one against the machine (PvE) and another between two players (PvP). My motivation this time is to explore two aspects that games should have in a client/server setup, namely minimal network usage…

    Read More Building a Game Server in C++ #8: Tic Tac ToesContinue

  • Building a Game Server in C++ #7: Connecting with MySQL
    C++ | Database Design | Game Server

    Building a Game Server in C++ #7: Connecting with MySQL

    ByGeorge November 18, 2025June 22, 2026

    When I began to put my game server idea into code, the storage backend was way down the list of my priorities. Today I decided to take a deep breath and get it over with. In this article we will implement a database and refactor the Storage class to connect to it. Designing the Database…

    Read More Building a Game Server in C++ #7: Connecting with MySQLContinue

  • An MVC Example Using C++ and ncurses
    C++ | ncurses

    An MVC Example Using C++ and ncurses

    ByGeorge November 16, 2025June 22, 2026

    I don’t love ncurses, but I don’t hate it either. It can be cumbersome to get it to work in a decent, foolproof way, but it does provide a framework for a two-dimensional interface without using graphics. In this article we will explore a way to use it MVC-syle. I obviously will be focusing more…

    Read More An MVC Example Using C++ and ncursesContinue

  • Building a Game Server in C++ #6: A generic client
    C++ | Game Server

    Building a Game Server in C++ #6: A generic client

    ByGeorge November 14, 2025June 22, 2026

    In this article I will build a generic client for my server to make testing easier. However, my real objective is to come up with a Client class that will be used by any client application. It should be able to encapsulate all the nitty gritty for the communication, without making any assumptions about specific…

    Read More Building a Game Server in C++ #6: A generic clientContinue

  • Building a Game Server in C++ #5: Joining games
    C++ | Game Server

    Building a Game Server in C++ #5: Joining games

    ByGeorge November 11, 2025June 22, 2026

    Our server has reached a point where users can authenticate, browse games and active game worlds, create new worlds and terminate them. In this article we will give them the ability to join games by adding a cmdJoin to our command arsenal. First things first, we have to add it to commandType and commandStrType: As…

    Read More Building a Game Server in C++ #5: Joining gamesContinue

  • Building a Game Server in C++ #4: Let’s talk protocol
    C++ | Game Server

    Building a Game Server in C++ #4: Let’s talk protocol

    ByGeorge November 10, 2025June 22, 2026

    As promised in the previous article, we will define the application protocol (over TCP) that will be used to manage the user’s session. As I mentioned before, it should be text-based, and every line of text received will correspond to one prompt (or command). This functionality is already covered in sessionThread(), where prompts are assembled…

    Read More Building a Game Server in C++ #4: Let’s talk protocolContinue

  • Building a Game Server in C++ #3: Rock Paper Scissors
    C++ | Game Server

    Building a Game Server in C++ #3: Rock Paper Scissors

    ByGeorge November 5, 2025June 22, 2026

    In the last article we made a very basic version of the server that accepts TCP connections and keeps track of its clients’ sessions. But what is a game server without games? In this article we will implement a simple, text-based Rock Paper Scissors game. Preparing the Server First of all, since we are about…

    Read More Building a Game Server in C++ #3: Rock Paper ScissorsContinue

  • Building a Game Server in C++ #2: Let there be Code
    Game Server | C++

    Building a Game Server in C++ #2: Let there be Code

    ByGeorge November 4, 2025June 22, 2026

    In the previous article of this series, I brainstormed about what my game server should look like. In this one, I will try to put all (or most) of that into code. The goal for this phase is to make a very basic version that: Warming up That said, let’s start with main(): Pretty straightforward:…

    Read More Building a Game Server in C++ #2: Let there be CodeContinue

Page navigation

1 2 3 Next PageNext

Recent Posts

  • Building a Game Server in C++ #9: A Client Framework
  • An MVC Christmas Tree in C++ and ncurses
  • Building a Game Server in C++ #8: Tic Tac Toes
  • Building a Game Server in C++ #7: Connecting with MySQL
  • An MVC Example Using C++ and ncurses

@StackExchange

profile for geomagas on Stack Exchange, a network of free, community-driven Q&A sites

Tags

c++ chat christmas class client database dataset file game game server is-a relations javascript jquery model module mvc mysql ncurses node php plugin protocol rdbms rock paper scissors service shortcode snowflake tcp threads tic tac toe udp ui upload url view widget wordpress παιχνίδι

Categories

  • C++
  • Database Design
  • Game Server
  • ncurses
  • Totally Useless Wordpress Plugins
  • Web Design

© 2026 geomagas.gr - WordPress Theme by Kadence WP

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

  • Terms of Use
  • Contact
  • Ελληνικά
geomagas.gr
Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.