Giter VIP home page Giter VIP logo

hjxyh12 / embedding-python-in-gameserver-tutorial Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mattosx/embedding-python-in-gameserver-tutorial

0.0 1.0 0.0 24.96 MB

a tutorial for embedding-python-in-gameserver

License: MIT License

Makefile 0.40% Shell 0.85% Python 51.02% M4 0.48% C 37.01% JavaScript 0.03% Batchfile 0.13% C++ 3.30% PostScript 0.03% CSS 0.01% HTML 0.35% Assembly 1.13% DTrace 0.01% Roff 0.49% Visual Basic 0.01% PLSQL 0.04% PowerShell 0.01% Objective-C 4.08% TeX 0.62% Common Lisp 0.05%

embedding-python-in-gameserver-tutorial's Introduction

embedding-python-in-gameserver-tutorial

a tutorial for embedding-python-in-gameserver

"/home/mattos/tutorial" is the clone path

build cpython

cd tutorial/src/lib/python

./configure --with-cxx-main=g++ --enable-shared --prefix=/home/mattos/tutorial/src/libs

make

make install

build libuv

sh autogen.sh

./configure --prefix=/home/mattos/tutorial/src/libs

make

make install

build myApp

cd tutorial/src

make

cd tutorial/bin

edit serverconf.json and ./myapp serverNode_1

access python console via telnet

telnet 127.0.0.1 9999

embedding-python-in-gameserver-tutorial's People

Contributors

rico2lewis avatar mattosx avatar

Watchers

 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.