Pitaya alternatives and similar packages
Based on the "Game Development" category.
Alternatively, view Pitaya alternatives based on common mentions on social networks and blogs.
-
tile
Tile is a 2D grid engine, built with data and cache friendly ways, includes pathfinding and observers.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Pitaya or a related project?
Popular Comparisons
README
pitaya [][6]
WARNING: The version v1.x of pitaya is under deprecation, complete guide of the new version v2.x can be found here.
Pitaya is an simple, fast and lightweight game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK. It provides a basic development framework for distributed multiplayer games and server-side applications.
Getting Started
Prerequisites
- Go >= 1.10
- etcd (used for service discovery)
- nats (optional, used for sending and receiving rpc, grpc implementations can be used too if prefered)
- docker (optional: used for running etcd and nats dependencies on containers)
Installing
clone the repo
git clone https://github.com/topfreegames/pitaya.git
setup pitaya dependencies
make setup
Hacking pitaya
Here's one example of running Pitaya:
Start etcd (This command requires docker-compose and will run an etcd container locally. An etcd may be run without docker if prefered.)
cd ./examples/testing && docker-compose up -d etcd
run the connector frontend server from cluster_grpc example
make run-cluster-grpc-example-connector
run the room backend server from the cluster_grpc example
make run-cluster-grpc-example-room
Now there should be 2 pitaya servers running, a frontend connector and a backend room. To send requests, use a REPL client for pitaya pitaya-cli.
$ pitaya-cli
Pitaya REPL Client
>>> connect localhost:3250
connected!
>>> request room.room.entry
>>> sv-> {"code":0,"result":"ok"}
Running the tests
make test
This command will run both unit and e2e tests.
Contributing
TODO
Authors
- TFG Co - Initial work
License
[MIT License](./LICENSE)
Acknowledgements
- nano authors for building the framework pitaya is based on.
- pomelo authors for the inspiration on the distributed design and protocol
Security
If you have found a security vulnerability, please email [email protected]
Resources
Other pitaya-related projects
Documents
Demo
- [Implement a chat room in ~100 lines with pitaya and WebSocket](./examples/demo/chat) (adapted from nano's example)
- [Pitaya cluster mode example](./examples/demo/cluster)
- [Pitaya cluster mode with protobuf protocol example](./examples/demo/cluster_protobuf)
*Note that all licence references and agreements mentioned in the Pitaya README section above
are relevant to that project's source code only.