Skip to content
/ Snake Public

Reference game using EntityNetwork, Akka.Interfaced and TrackableData

License

Notifications You must be signed in to change notification settings

SaladLab/Snake

Repository files navigation

Snake

Build status Coverage Status

Reference game using EntityNetwork, Akka.Interfaced and TrackableData.

Screenshot Screenshot

How to run

Prerequisites

  • MongoDB 3 or later
  • Visual Studio 2015 or later (it's not mandatory if you can build projects)
  • Unity 5.3 or later

Steps

  • Make sure MongoDB is running well.
    • By default server connects to local MongoDB.
    • Address of MongoDB can be configured on src/GameServer/App.config.
  • Run Server
    • Open Snake.sln with Visual Studio.
    • Run GameServer.
  • Run Client
    • Open src/GameClient with Unity.
    • Open Scenes/MainScene and run.

Steps for testing gameplay only

For testing gameplay itself, you can play game without server.

  • Run Test Client
    • Open src/GameClient with Unity.
    • Open Scenes/GameTestScene and run.
    • For first client, select Lan Host.
    • For second client, select Lan Client with host address.

About

Reference game using EntityNetwork, Akka.Interfaced and TrackableData

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages