Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
dc4ee23ef8 | |||
20f9756d4f | |||
1bce88794d |
21
LICENSE
Normal file
21
LICENSE
Normal file
@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 Dmitriy Shishkov
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
23
README.md
Normal file
23
README.md
Normal file
@ -0,0 +1,23 @@
|
||||
# Conway's Game of Life
|
||||
|
||||
<p align="center">
|
||||
<img src="https://github.com/dm1sh/conways_game/raw/main/logo.svg" alt="my Conway's game of life logotype" width="150px">
|
||||
</p>
|
||||
|
||||
## Application and dev stack overview
|
||||
|
||||
It is a Conway's game of life implementation with JavaScript in browser. TypeScript is used for static type checking and esbuild for bundling.
|
||||
|
||||
## Running instructions
|
||||
|
||||
```bash
|
||||
# Build
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
# Open in browser
|
||||
chromium index.html
|
||||
|
||||
# With webserver
|
||||
npx serve -s .
|
||||
```
|
71
logo.svg
Normal file
71
logo.svg
Normal file
@ -0,0 +1,71 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="64"
|
||||
height="64"
|
||||
viewBox="0 0 16.933333 16.933333"
|
||||
version="1.1"
|
||||
id="svg8"
|
||||
inkscape:version="1.0.2 (e86c870879, 2021-01-15, custom)"
|
||||
sodipodi:docname="logo.svg">
|
||||
<defs
|
||||
id="defs2" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="1"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="11.2"
|
||||
inkscape:cx="28.25144"
|
||||
inkscape:cy="19.256277"
|
||||
inkscape:document-units="px"
|
||||
inkscape:current-layer="layer1"
|
||||
inkscape:document-rotation="0"
|
||||
showgrid="false"
|
||||
units="px"
|
||||
inkscape:window-width="1226"
|
||||
inkscape:window-height="744"
|
||||
inkscape:window-x="136"
|
||||
inkscape:window-y="20"
|
||||
inkscape:window-maximized="0"
|
||||
inkscape:snap-others="true"
|
||||
height="64mm"
|
||||
width="64mm" />
|
||||
<metadata
|
||||
id="metadata5">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer"
|
||||
id="layer1">
|
||||
<rect
|
||||
style="fill:#fffeff;fill-opacity:1;stroke-width:0.264583"
|
||||
id="rect1121"
|
||||
width="16.933332"
|
||||
height="16.933332"
|
||||
x="-2.1661864e-07"
|
||||
y="-2.1161866e-07" />
|
||||
<path
|
||||
style="fill:#000000;stroke-width:0.0890171;stroke-miterlimit:4;stroke-dasharray:none"
|
||||
d="m 4.9064332,14.47456 v -1.557601 h 1.5576021 1.5576022 v 1.557601 1.557602 H 6.4640353 4.9064332 Z m 4.0052623,0 V 12.916959 H 10.469299 12.0269 v 1.557601 1.557602 H 10.469299 8.9116955 Z m 4.0052635,0 v -1.557601 h 1.557601 1.557602 v 1.557601 1.557602 H 14.47456 12.916959 Z M 0.90117082,10.469299 V 8.9116955 H 2.458773 4.016374 V 10.469299 12.0269 H 2.458773 0.90117082 Z m 12.01578818,0 V 8.9116955 h 1.557601 1.557602 V 10.469299 12.0269 H 14.47456 12.916959 Z M 0.90117082,6.4640353 V 4.9064332 H 2.458773 4.016374 V 6.4640353 8.0216375 H 2.458773 0.90117082 Z M 4.9064332,2.458773 V 0.90117082 H 6.4640353 8.0216375 V 2.458773 4.0163751 H 6.4640353 4.9064332 Z m 4.0052623,0 V 0.90117082 H 10.469299 12.0269 V 2.458773 4.0163751 H 10.469299 8.9116955 Z m 4.0052635,0 V 0.90117082 h 1.557601 1.557602 V 2.458773 4.0163751 H 14.47456 12.916959 Z"
|
||||
id="path174"
|
||||
sodipodi:nodetypes="ccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.9 KiB |
Loading…
x
Reference in New Issue
Block a user