Giter VIP home page Giter VIP logo

vue-of-life's Introduction

vue-of-life

A toroidal array implementation of Conway's Game of Life built in Vue 3.

Online version is deployed on Netlify here.

Usage

Click Start to start iterating generations. Click Pause to stop and Resume to continue.

Before starting or while paused, you can click Import to set a saved initial grid state or Export to copy the current grid state.

You can also click on Edit to change the current grid state before starting or resuming iterations.

Click on Select Shape to choose the shape to place on the grid. You can use the following keys to modify the shape:

  • X to flip horizontally
  • Y to flip vertically
  • R to rotate 90 degrees

Click on Save to commit the edits to the grid or Cancel to discard them. Note that, at this time, it is only possible to add live cells. You cannot "kill" cells that are already alive in the grid.

Recommended IDE Setup

VSCode + Volar.

If you regularly work in Vue 2 workspaces, disable the Volar extension globally. Then, in this workspace, right-click on the Vetur extension in the sidebar and select Disable (Workspace). Then right-click on the Volar extension and select Enable (Workspace).

You will also need to enable TypeScript Take Over Mode by doing the following:

  • Run Extensions: Show Built-in Extensions from VSCode's command palette
  • Find TypeScript and JavaScript Language Features, right click and select Disable (Workspace)
  • Reload the VSCode window by running Developer: Reload Window from the command palette.

Project Setup

yarn

Compile and Hot-Reload for Development

yarn dev

Type-Check, Compile and Minify for Production

yarn build

Lint with ESLint

yarn lint

vue-of-life's People

Contributors

udyux avatar

Stargazers

 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.