Much-Assembly-Required 正在参加 2021 年度 OSC 中国开源项目评选,请投票支持!
Much-Assembly-Required 在 2021 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
2021 年度 OSC 中国开源项目评选 正在火热进行中,快来投票支持你喜欢的开源项目!
2021 年度 OSC 中国开源项目评选 >>> 中场回顾
Much-Assembly-Required 获得 2021 年度 OSC 中国开源项目评选「最佳人气项目」 !
授权协议 GPL-3.0 License
开发语言 C/C++
操作系统 未知
软件类型 开源软件
所属分类 游戏/娱乐
开源组织
地区 不详
投 递 者 首席测试
适用人群 未知
收录时间 2021-12-24

软件简介

Official website

CodeFactor Build Status

Much Assembly Required allows you to program the 8086-like microprocessor of a robot in a grid-based multiplayer world. The game is web based so no installation is required. In its current state, players can walk around the game universe and collect Biomass blobs and Iron/copper ore using the online code editor.

screenshot from 2017-11-12 13-01-43

Wiki: GitHub Chat: Slack

Deploying the server

Linux

Installing tools

On Ubuntu 16.04:

sudo apt install git maven openjdk-8-jdk mongodb

On Arch:

sudo pacman -S git maven mongodb jdk8-opendjk

# Don't forget to start mongodb
sudo systemctl start mongodb.service

If needed, visit troubleshooting mongodb.

Deploying server

# Obtain source files
git clone https://github.com/simon987/Much-Assembly-Required.git

# Build
cd Much-Assembly-Required
mvn package

# Run
cd target
java -jar server-1.4a.jar

Windows (tested on Windows 10)

Installation instructions:

  1. Download the JDK from here. Install the JDK and update your PATH and JAVA_HOME environment variables.
  2. Download Maven from here. Install Maven (following the README) and update your PATH environment variable.
  3. Download Mongo DB Community from here. Install Mongo DB following the instructions here. Update your PATH environment variable.

Building instructions:

:: Builds the server
cd Much-Assembly-Required
mvn package

Running instructions:

  1. In one Command Prompt window, run Mongo DB:
:: Runs Mongo DB
mongod
  1. In a second Command Prompt window, run the MAR server:
:: Runs the MAR server
cd Much-Assembly-Required\target
java -jar server-1.4a.jar

macOS (tested on Sierra 10.12.6)

Installation

  1. Install Maven3 -Add Maven bin to your path
    export PATH=/path/to/maven/bin.:$PATH
  2. Install MongoDB. -Via Brew:
    #Update brew
    brew update
    
    #Install mongodb
    brew install mongodb
    
    #Install latest development release
    brew install mongodb --devel
    -Via .tar.gz
    #Extract files:
    tar -zxvf mongodb-osx-ssl-x86_64-4.0.3.tgz
    
    #Ensure binaries are in your path
    export PATH=<mongodb-install-directory>/bin:$PATH

If you do not wish to use the default data directory (/data/db), follow the steps for running MongoDB in the install doc.

Deploying Server

  1. Begin MongoDB service

    #If brew:
    #Launch on login
    brew services start mongodb
    #Or, if you don't want/need a background service you can just run:
    mongod --config /usr/local/etc/mongod.conf
    
    #If binary:
    mongod
    #Optional, set data directory path:
    mongod --dbpath <path to data directory>
  2. Deploy server:

    # Obtain source files
    git clone https://github.com/simon987/Much-Assembly-Required.git
    
    # Build
    cd Much-Assembly-Required
    mvn package
    
    # Run
    cd target
    java -jar server-1.4a.jar

Docker

Requirements

  1. Docker Compose (and dependencies)

Installation

Once Docker and Docker Compose are installed, you can build and start this application by running the following command inside this application's directory:

docker-compose up

Make sure to change mongo_address in config.properties to mongodb.

Vagrant

Requirements

  1. Vagrant
  2. VirtualBox

Installation

When vagrant is installed, you can build and start this application by running the following command inside this application's directory:

vagrant up

Running

Once the server is running, you should be able to connect to http://localhost:4567 with your browser

VS Code Extensions

展开阅读全文

代码

评论

点击引领话题📣
暂无内容
发表了博客
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
发表了问答
{{o.pubDate | formatDate}}

{{formatAllHtml(o.title)}}

{{parseInt(o.replyCount) | bigNumberTransform}}
{{parseInt(o.viewCount) | bigNumberTransform}}
没有更多内容
暂无内容
0 评论
0 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部
返回顶部
顶部