GithubHelp home page GithubHelp logo

aws-samples / amazon-dynamodb-getting-started-for-game-developers Goto Github PK

View Code? Open in Web Editor NEW
8.0 5.0 5.0 21 KB

A very basic client/server implementation in C++ showing how game developers can integrate DynamoDB calls in to their game server.

License: MIT No Attribution

C++ 99.96% C 0.04%

amazon-dynamodb-getting-started-for-game-developers's Introduction

Amazon DynamoDB Getting Started For Game Developers

A very basic client/server implementation in C++ showing how game developers can integrate Amazon DynamoDB calls in to their game server.

Requirements

Contents

├── GameServer/         # Game server code as well as the solution file for both server and client projects
├── GameClient/         # Game client code 
└── Common/             # Code shared between game client and server

Set up AWS resources

  • Create a table in DynamoDB named "PlayerData".
  • Set the primary key to "PlayerID" and make sure the data type is "string".
  • Otherwise use default settings.

Build and run the sample

  • Add the AWS C++ SDK to your project. The Amazon DynamoDB library is required, as well as its dependencies.
  • Open the solution file GameServer.sln, which contains both the server and client projects.
  • If you'd created your DynamoDB table in an AWS region other than US East 1, modify the GameServer/Settings.h with the correct region.
  • Build the server and client projects.
  • The project is currently configured to allow the client to connect to a locally hosted server, so you can run them on the same machine. If you would like to run them on different machines, you can modify the SERVERADDR variable in GameClient.cpp.

For more information or questions

License Summary

This sample code is made available under the MIT-0 license. See the LICENSE file.

amazon-dynamodb-getting-started-for-game-developers's People

Contributors

amazongametech avatar jamesiri avatar squidbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

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.