divinenaman / pong-game-horizen

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Horizen Pong

Based on javascript-pong

Requirements and dependencies

  • NodeJS

Clone the project

Use the command below:

git clone https://github.com/MLH/pong-game-horizen.git

Setup Script (Optional)

This workshop has a setup script called setup.sh.

In order to be run it needs to be executable. You need to give it permission to run on your machine by using the command:

chmod +x setup.sh

It can then be run with the command:

./setup.sh

Set Up Environment variables

To quickly set up environment variables, make a copy of the .env.example and rename it to .env. Then make sure to modify it following the instructions below.

ZEN_PONG_WALLET_SEED

A seed phrase, seed recovery phrase or backup seed phrase is a list of words which store all the information needed to recover a wallet. Provide your seed phrase like the example bellow:

ZEN_PONG_WALLET_SEED="specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited specify limited"

Executing the application

To run the application, you only need to execute the start script.

yarn start

Open your app

Your app will be running on http://localhost:8000

How to use the Game

Check this quick guide

Repl.it

Run on Repl.it

Make sure to create a .env file and configure your ZEN_PONG_WALLET_SEED.

About


Languages

Language:JavaScript 81.4%Language:HTML 8.1%Language:Shell 6.5%Language:CSS 4.0%