@voskan/glider-game-of-life
v1.0.12
Published
Glider Game of Life
Downloads
7
Readme
@voskan/glider-game-of-life
A responsive implementation of Conway's Game of Life using React and TypeScript.
Installation
To install the package, use npm or yarn:
npm install @voskan/glider-game-of-life
or
yarn add @voskan/glider-game-of-life
Usage
To use the Game of Life component in your React project, import it and include it in your JSX:
import React from "react";
import ReactDOM from "react-dom";
import { GameOfLife } from "@voskan/glider-game-of-life";
const App: React.FC = () => {
return (
<div>
<GameOfLife />
</div>
);
};
ReactDOM.render(<App />, document.getElementById("root"));