Code Monkey home page Code Monkey logo

mog1-gameserver's Introduction

MOG1-GameServer

My first attempt at creating an multiplayer game with a authoritative server. This is the model logic part.

This repo is just a part of a larger system that is currently made up of four parts:

  1. GameServer - The game data and logic. Communicates with other programs through a local "Unix" socket.

  2. GameManager - A program that can be used to send commands to the data server to add game content, stop the server, admin players, etc.

  3. WebServer - Has several roles. It serves the game client, authenticates users, and acts as an interface between clients and the GameServer

  4. WebClient - The game client. It is an HTML5/CSS3 interface that is used to provide gameplay inputs to the game, as well as something pretty-ish to look at.

mog1-gameserver's People

Contributors

tgreener avatar

Watchers

James Cloos avatar  avatar

mog1-gameserver's Issues

Precompile SQL

Need to compile query statements at server initialization, then reuse them.

Additionally, there needs to be a way to have statements that update the db manage ownership of the db write privileges .

Standardize Communication Protocol

This involves making a more robust way of communicating between the web server and the game server. At the moment, the web server must know the layout of each and every response. This is silly.

  1. Add data identifiers to each serialized object. This way parsing doesn't have to rely on prior knowledge of the byte format.

  2. Standardize integer usage. So far, I've been a bit willy-nilly in decisions to use unsigned/signed version. Additionally, with integers that will be serialized I need to explicitly state their bit width, and add the ability to discover the bit width to the server api (rather than passing sizeof(int) as part of the serialized object data).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.