Compare commits
No commits in common. "7190ea2dedf01a097de326f3645ed2bb23a5f918" and "228612168c5a78e9b10cd4d21484a2962aad05e5" have entirely different histories.
7190ea2ded
...
228612168c
19
README.md
19
README.md
|
@ -1,25 +1,14 @@
|
||||||
# Go
|
# Go
|
||||||
|
|
||||||
This is an implementation of a game of GO in web application form.
|
TODO: Write a description here
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
TODO: Write installation instructions for Windows
|
TODO: Write installation instructions here
|
||||||
___
|
|
||||||
TODO: Write installation instructions for Mac
|
|
||||||
___
|
|
||||||
Arch Linux:
|
|
||||||
1. Install dependencies: `pacman -S crystal shards ruby-sass`
|
|
||||||
2. Install Shards: `shards install`
|
|
||||||
3. TODO: Add elm compilation
|
|
||||||
4. Compile SASS Style: `make generate-css`
|
|
||||||
5. Compile Crystal app: `crystal build --release src/Go.cr`
|
|
||||||
6. Run with `./Go`
|
|
||||||
___
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
While crystal app is running, go to localhost with port of 3000 in the browser.
|
TODO: Write usage instructions here
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
|
||||||
|
@ -36,5 +25,3 @@ TODO: Write development instructions here
|
||||||
## Contributors
|
## Contributors
|
||||||
|
|
||||||
- [[your-github-name]](https://github.com/[your-github-name]) Danila Fedorin - creator, maintainer
|
- [[your-github-name]](https://github.com/[your-github-name]) Danila Fedorin - creator, maintainer
|
||||||
|
|
||||||
- [sessionm21](https://github.com/sessionm21) Matthew Sessions - hax0r, maintainer
|
|
||||||
|
|
|
@ -22,10 +22,10 @@ body {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
border-radius: 10px; }
|
border-radius: 10px; }
|
||||||
|
|
||||||
.black-player .board-cell:hover .overlay {
|
.black-player .overlay:hover {
|
||||||
background-color: black; }
|
background-color: black; }
|
||||||
|
|
||||||
.white-player .board-cell:hover .overlay {
|
.white-player .overlay:hover {
|
||||||
background-color: white; }
|
background-color: white; }
|
||||||
|
|
||||||
.board-cell {
|
.board-cell {
|
||||||
|
|
|
@ -33,14 +33,14 @@ body {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.black-player {
|
.black-player .overlay {
|
||||||
.board-cell:hover .overlay {
|
&:hover {
|
||||||
background-color: black;
|
background-color: black;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.white-player {
|
.white-player .overlay {
|
||||||
.board-cell:hover .overlay {
|
&:hover {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,59 +0,0 @@
|
||||||
<?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"
|
|
||||||
height="100"
|
|
||||||
width="100"
|
|
||||||
version="1.1"
|
|
||||||
id="svg4"
|
|
||||||
sodipodi:docname="black.svg"
|
|
||||||
inkscape:version="0.92.2 2405546, 2018-03-11">
|
|
||||||
<metadata
|
|
||||||
id="metadata10">
|
|
||||||
<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>
|
|
||||||
<defs
|
|
||||||
id="defs8" />
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1159"
|
|
||||||
inkscape:window-height="719"
|
|
||||||
id="namedview6"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="2.36"
|
|
||||||
inkscape:cx="50"
|
|
||||||
inkscape:cy="50"
|
|
||||||
inkscape:window-x="307"
|
|
||||||
inkscape:window-y="38"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg4" />
|
|
||||||
<circle
|
|
||||||
cx="50"
|
|
||||||
cy="50"
|
|
||||||
r="40"
|
|
||||||
stroke="black"
|
|
||||||
stroke-width="3"
|
|
||||||
fill="red"
|
|
||||||
id="circle2"
|
|
||||||
style="fill:#000000" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.6 KiB |
|
@ -1,58 +0,0 @@
|
||||||
<?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"
|
|
||||||
height="100"
|
|
||||||
width="100"
|
|
||||||
version="1.1"
|
|
||||||
id="svg4"
|
|
||||||
sodipodi:docname="circle.svg"
|
|
||||||
inkscape:version="0.92.2 2405546, 2018-03-11">
|
|
||||||
<metadata
|
|
||||||
id="metadata10">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<defs
|
|
||||||
id="defs8" />
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1159"
|
|
||||||
inkscape:window-height="719"
|
|
||||||
id="namedview6"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="2.36"
|
|
||||||
inkscape:cx="50"
|
|
||||||
inkscape:cy="50"
|
|
||||||
inkscape:window-x="307"
|
|
||||||
inkscape:window-y="38"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg4" />
|
|
||||||
<circle
|
|
||||||
cx="50"
|
|
||||||
cy="50"
|
|
||||||
r="40"
|
|
||||||
stroke="black"
|
|
||||||
stroke-width="3"
|
|
||||||
fill="red"
|
|
||||||
id="circle2"
|
|
||||||
style="fill:#000000" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.5 KiB |
|
@ -1,64 +0,0 @@
|
||||||
<?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"
|
|
||||||
height="100"
|
|
||||||
width="100"
|
|
||||||
version="1.1"
|
|
||||||
id="svg14"
|
|
||||||
sodipodi:docname="crossB.svg"
|
|
||||||
inkscape:version="0.92.2 2405546, 2018-03-11">
|
|
||||||
<metadata
|
|
||||||
id="metadata20">
|
|
||||||
<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>
|
|
||||||
<defs
|
|
||||||
id="defs18" />
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1920"
|
|
||||||
inkscape:window-height="1028"
|
|
||||||
id="namedview16"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="8.27"
|
|
||||||
inkscape:cx="50"
|
|
||||||
inkscape:cy="50"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="0"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg14" />
|
|
||||||
<line
|
|
||||||
x1="50"
|
|
||||||
y1="0"
|
|
||||||
x2="50"
|
|
||||||
y2="100"
|
|
||||||
style="stroke:rgb(0,0,0);stroke-width:2"
|
|
||||||
id="line10" />
|
|
||||||
<line
|
|
||||||
x1="0"
|
|
||||||
y1="50"
|
|
||||||
x2="100"
|
|
||||||
y2="50"
|
|
||||||
style="stroke:rgb(0,0,0);stroke-width:2"
|
|
||||||
id="line12" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.7 KiB |
|
@ -1,59 +0,0 @@
|
||||||
<?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"
|
|
||||||
height="100"
|
|
||||||
width="100"
|
|
||||||
version="1.1"
|
|
||||||
id="svg4"
|
|
||||||
sodipodi:docname="white.svg"
|
|
||||||
inkscape:version="0.92.2 2405546, 2018-03-11">
|
|
||||||
<metadata
|
|
||||||
id="metadata10">
|
|
||||||
<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>
|
|
||||||
<defs
|
|
||||||
id="defs8" />
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1159"
|
|
||||||
inkscape:window-height="719"
|
|
||||||
id="namedview6"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="2.36"
|
|
||||||
inkscape:cx="50"
|
|
||||||
inkscape:cy="50"
|
|
||||||
inkscape:window-x="307"
|
|
||||||
inkscape:window-y="38"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg4" />
|
|
||||||
<circle
|
|
||||||
cx="50"
|
|
||||||
cy="50"
|
|
||||||
r="40"
|
|
||||||
stroke="black"
|
|
||||||
stroke-width="3"
|
|
||||||
fill="red"
|
|
||||||
id="circle2"
|
|
||||||
style="fill:#ffffff" />
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 1.6 KiB |
Loading…
Reference in New Issue
Block a user