Git Product home page Git Product logo

opcraft's Introduction

OPCraft

An infinite, unstoppable World.

The main branch client is automatically deployed to craft.mud.dev.

Visit the frozen world of the first public playtest of OPCraft at opcraft.mud.dev.

Read more about the creation of OPCraft and the crazy things that happened during our first public playtest on the Lattice blog.

Built using MUD and Noa.

Running locally

  1. Run yarn to install dependencies
  2. Run yarn start in packages/client
  3. In a new terminal, run yarn anvil:node in packages/contracts
  4. In a new terminal, run yarn deploy:anvil in packages/contracts

Running locally with HMR

Parcel + HMR doesn't fully work and React changes will cause a full page reload unless we take a few extra steps to link packages locally and use Vite for bundling.

  1. Clone mud repo locally (next to your opcraft dir)
  2. Run yarn && yarn link:packages from within mud repo to install its deps and link packages
  3. Run yarn && link:mud from within opcraft repo to install its deps and link mud packages
  4. Run yarn dev in packages/client (note yarn dev not yarn start like above)
  5. In a new terminal, run yarn anvil:node in packages/contracts
  6. In a new terminal, run yarn deploy:anvil in packages/contracts

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.