Skip to content

codingben/maple-fighters

Repository files navigation

Maple Fighters


A small online game similar to MapleStory

maplefighters.io

About

Unity Build Frontend Build Game Service Build

Maple Fighters is an online multiplayer game inspired by MapleStory where you battle monsters with others in real-time.

Please ★ Star if you like it. Made With ❤️ For Open Source Community!

Play Online

Maple Fighters is available at maplefighters.io. This is a web game, no installation required. Supported in any web browser with internet connection. Small, optimized, and incredibly fast! 🚀

Screenshots

Lobby The Dark Forest

Technology

Game Engine: Unity (2020.3.17)
Client: C#, React.js (C# is compiled to C++ and finally to WebAssembly)
Server: C# (.NET 5.0)
Reverse Proxy: Nginx
Cloud: DigitalOcean

Quickstart

Docker

💡 Please make sure you have Docker installed.

  1. Clone repository:
git clone https://github.com/codingben/maple-fighters.git
cd maple-fighters
  1. Build and run docker images:
docker compose up

Kubernetes

💡 Please make sure you have Kubernetes cluster.

  1. Create Kubernetes resources in maple-fighters namespace:
kubectl apply -f https://raw.githubusercontent.com/codingben/maple-fighters/main/release/kubernetes-manifests.yaml
namespace/maple-fighters created
service/frontend-external created
service/game-service created
deployment.apps/frontend created
deployment.apps/game-service created
  1. Make sure all pods are running:
kubectl get pods -n maple-fighters
NAME                            READY   STATUS    RESTARTS   AGE
frontend-79d44b9fbb-gf45k       1/1     Running   0          10s
game-service-54f66cbcbb-q9vtb   1/1     Running   0          10s
  1. Use EXTERNAL_IP to access Maple Fighters in a web browser:
kubectl get service frontend-external -n maple-fighters
NAME                TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)        AGE
frontend-external   LoadBalancer   10.101.21.120   <pending>     80:31765/TCP   10s

Contributing

Please read the contributing guidelines.

Artwork

The artwork is owned by Nexon Co., Ltd and will never be used commercially.

License

AGPL