Skip to content

Commit 253476d

Browse files
committed
Update README.md
1 parent 0e274b5 commit 253476d

1 file changed

Lines changed: 82 additions & 1 deletion

File tree

README.md

Lines changed: 82 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,84 @@
1-
# google-hashcode-2018-live-simulation
1+
<h1 align="center">Google Hash Code 2018 : live simulation</h1>
2+
3+
4+
<div align="center">
25

36
[![CircleCI](https://circleci.com/gh/AkselsLedins/google-hashcode-2018-live-simulation.svg?style=shield)](https://circleci.com/gh/AkselsLedins/google-hashcode-2018-live-simulation)
7+
![License](https://img.shields.io/github/license/AkselsLedins/google-hashcode-2018-live-simulation.svg)
8+
![Forks](https://img.shields.io/github/forks/AkselsLedins/google-hashcode-2018-live-simulation.svg)
9+
![Stars](https://img.shields.io/github/stars/AkselsLedins/google-hashcode-2018-live-simulation.svg)
10+
![Twitter](https://img.shields.io/twitter/url/https/github.com/AkselsLedins/google-hashcode-2018-live-simulation.svg?style=social)
11+
12+
</div>
13+
14+
## Preview
15+
16+
<div align="center">
17+
18+
![Preview](screenshots/preview.gif)
19+
20+
</div>
21+
22+
## Installation
23+
24+
```
25+
$> make deps
26+
$> make
27+
```
28+
29+
## Running
30+
31+
32+
| flag | required | explanation |
33+
|--------|----------|-------------------------------------------------------------------------------------------|
34+
| -o | :white_check_mark: | path to the output file you have generated with your program during the hashcode |
35+
| -i | :white_check_mark: | corresponding input file, ex: b_should_be_easy.in |
36+
| -noGui | | you can run the simulation withtout a graphic interface. This will only output your score |
37+
| -h | | display help |
38+
39+
#### Example with a Graphic Interface
40+
41+
```
42+
$> ./google-hashcode-2018 -o resources/output-files/b.out -i resources/input-files/b_should_be_easy.in
43+
```
44+
45+
46+
<div align="center">
47+
48+
![Preview](screenshots/v0.10.png)
49+
50+
</div>
51+
52+
#### Example without a Graphic Interface
53+
54+
```
55+
$> go run main.go -o resources/output-files/e.out -i resources/input-files/e_high_bonus.in -noGui
56+
16381105
57+
58+
```
59+
60+
61+
## Graphic interface commands
62+
63+
| Command | effect |
64+
|---------------|---------------------------------------|
65+
| press "space" | pause / start the simulation |
66+
| press "t" | shows / hide all the simulation trips |
67+
| arrow keys | move the camera around |
68+
| mouse scroll | zoom in/out |
69+
70+
71+
## FAQ
72+
73+
### Why ?
74+
I thought it would be a fun project to practice Go
75+
76+
## Contributing
77+
78+
See <a href="https://github.com/AkselsLedins/google-hashcode-2018-live-simulation/blob/master/CONTRIBUTING.md">Contributing.md</a>.
79+
80+
But basically feel free to contribute if you find something to improve.
81+
82+
83+
## License
84+
[GPL-V3](https://tldrlegal.com/license/gnu-general-public-license-v3-(gpl-3))

0 commit comments

Comments
 (0)