Giter VIP home page Giter VIP logo

screeps2's Introduction

Screeps2

Screeps2 is a modified version of Screeps - MMO strategy sandbox game for programmers.

This project is a standalone game server that allows you to launch your own game world on a local computer or dedicated server on the Internet.

The main purpose of Screeps2 is to rewrite the whole game engine, server and client in my own way, fix some awkward gaming logic of the original game, and to reduce energy cumsumption on the game server and GUI client.

For a detailed introduction to the game, please refer to the Screeps2 wiki.

A public accessible server is deployed here.


Installation

Prerequisites:

  • Node.js - local running environment, version 15.0.0 or higher
  • Lodash - provide functional utilities for JavaScript
git clone https://github.com/mrlazy1708/Screeps2.git

Server Launch

Console Server

  • Launch
cd Screeps2   	# cd to the project's root dir
node launch.js	# launch server

The server is expected to running in the background. Go to localhost@8080 via browser to play the game locally. Others can directly access your server if they have your public IP on the Internet.

  • Close

Use a EOF signal (Ctrl + D or twice Ctrl + C) to exit the node REPL environment locally, and the server will close the engine, then close all http connections and finally exit properly.

GUI Server

Only console launcher is supported now. GUI server development is scheduled.


Future Plan

  • Game engine
    • Demo bot
    • History playback
    • Player script modularization
    • Engine parallelization
  • Http server
    • GUI
      • Dashboard
    • Public access
  • Web-based client
    • GUI
      • Dashboard
      • Custom theme
      • Mouse interaction
      • BGM
    • Energy saving
  • Login system
  • Wiki

Credits

The game engine, http server and wiki (and this README) is written by YihengDu.

The web-based client (including GUI) is written by RuichengWang.


License

This is a nonprofit project. It's intended only for studying and entertaining purpose and we don't wish to violate the original game's Term of Service.

If there's anything that we did violates the tos, please contact me by making an issue.

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.