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.
Installing tools
On Ubuntu 16.04:
sudo apt install git maven openjdk-8-jdk mongodb
On Arch:
sudo pacman -S git maven jdk8-opendjk
yay -S mongodb-bin
# Don't forget to start mongodb
sudo systemctl start mongodb.service
If needed, visit yay installation and 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
Installation instructions:
- Download the JDK from here. Install the JDK and update your PATH and JAVA_HOME environment variables.
- Download Maven from here. Install Maven (following the README) and update your PATH environment variable.
- 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:
- In one Command Prompt window, run Mongo DB:
:: Runs Mongo DB
mongod
- 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
Installation
- Install Maven3
-Add Maven bin to your path
export PATH=/path/to/maven/bin.:$PATH
- Install MongoDB.
-Via Brew:
-Via .tar.gz
#Update brew brew update #Install mongodb brew install mongodb #Install latest development release brew install mongodb --devel
#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
-
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>
-
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 Compose (and dependencies)
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
.
When vagrant is installed, you can build and start this application by running the following command inside this application's directory:
vagrant up
Once the server is running, you should be able to connect to http://localhost:4567
with your browser
- Much Assembly Required (Upload on Save) by tomhodder
- Much Assembly Required Language Support by PJB3005