Pelit

Install and Run CodeCombat Multiplayer Game on Ubuntu 16.04

Install and Run CodeCombat Multiplayer Game on Ubuntu 16.04

CodeCombat is a multiplayer programming game for learning how to code. It's a platform for students to learn computer science while playing through a real game.

It's both a startup and a community project, completely open source under the MIT and Creative Commons licenses. Furthermore, it's the largest open source CoffeeScript project by lines of code, and since it's a game, it's really fun to hack on.

To install CodeCombat, we need to first setup our database. The database used will be MongoDB

Install MongoDB

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv EA312927 echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list sudo apt-get update && sudo apt-get install -y mongodb-org
cd /lib/systemd/system/ vim mongod.service
[Unit] Description=High-performance, schema-free document-oriented database After=network.target Documentation=https://docs.mongodb.org/manual [Service] User=mongodb Group=mongodb ExecStart=/usr/bin/mongod --quiet --config /etc/mongod.conf [Install] WantedBy=multi-user.target
systemctl daemon-reload
systemctl start mongod systemctl enable mongod

Install and run CodeCombat Multiplayer Game on Ubuntu 16.04

sudo apt-get install build-essential python2.7 git curl npm nodejs-legacy
npm config set python 'which python2.7'
git config --global user.name "YOUR_NAME" git config --global user.email "YOUR_EMAIL_ADDRESS"
git clone https://github.com/codecombat/codecombat.git cd codecombat git remote add -f upstream https://github.com/codecombat/codecombat.git
npm install
(cd $(mktemp -d /tmp/coco.XXXXXXXX) && curl http://analytics.codecombat.com:8080/dump.tar.gz | tar xzf - && mongorestore --drop --host 127.0.0.1)
npm run dev
http://127.0.0.1:3000

Now we have our game environment running on Ubuntu 16.04

Open Source Ports of Commercial Game Engines
Free, open source and cross-platform game engine recreations can be used to play old as well as some of the fairly recent game titles. This article wi...
Parhaat komentorivipelit Linuxille
Komentorivi ei ole vain suurin liittolainen Linuxia käytettäessä - se voi olla myös viihteen lähde, koska voit käyttää sitä pelaamaan monia hauskoja p...
Parhaat Linux-peliohjaimen kartoitussovellukset
Jos haluat pelata pelejä Linuxissa peliohjaimella tyypillisen näppäimistön ja hiiren syöttöjärjestelmän sijaan, on sinulle hyödyllisiä sovelluksia. Mo...