Giter VIP home page Giter VIP logo

nogardenonline's Introduction

NoGardenOnline

Enhanced port of NoGardenPuzzle to the reflex(-dom) FRP framework for running directly in the web browser.

Play it here or here.

Game rules

The goal is to fill the rectangular game field with horizontal and vertical lines, such that each line starts and ends "outside" of the field. A started line extends in a straight manner until it hits a blocked tile or the outside. In the former case, the line must be continued in either possible direction.

Build instructions

The project is built with reflex-platform's Nix toolchain. Choose the appropriate section:

Nix and reflex-platform already set up

Just run make.

For deployment, you might want to optimize the huge javascript file. To do this with google's closure-compiler, you can run make minify.

Nix installed, but new to reflex-platform

You almost certainly want to use the Nix binary cache at reflex-frp.org. In order to do so, either add the cache and key manually as described here (only step 2), or let the reflex-platform/try-reflex script patch your Nix config (see also next section).

Then simply run make.

What is Nix?!

Nix is a tool that takes a unique approach to package management and system configuration. Learn how to make reproducible, declarative and reliable systems.

— from its homepage https://nixos.org/.

If you can get Nix through the package manager of your operating system, you might prefer to do so and continue with the previous section.

Otherwise, you can have reflex-platform install Nix for you.

  1. Warning: The following requires root permissions and installs Nix system wide. If you don't want this, you may consider alternatives.

  2. Clone this repo with --recurse-submodules or – if you already cloned it without – initialize the reflex-platform submodule via git submodule update --init.

  3. Run reflex-platform/try-reflex, which should offer you to install Nix. It also sets up Nix binary caches (or asks if it should in case you already have Nix installed).

  4. After it finished, quit the new shell it opened.

Now, you can build this project.

nogardenonline's People

Contributors

j0j0 avatar

Watchers

 avatar

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.