All Projects → dom96 → Snake

dom96 / Snake

Licence: mit
A little snake game in Nim

Programming Languages

nim
578 projects

Snake

A Snake game written in Nim targetting JavaScript in a web browser: http://picheta.me/snake/.

Systemd setup

Create a snake.service file in /lib/systemd/system/ (or any of the other locations described here), put this in it:

[Unit]
Description=snake
After=network.target httpd.service
Wants=network-online.target

[Service]
Environment=IPSTACK_KEY=<YOUR_IPSTACK_KEY_HERE>
Type=simple
WorkingDirectory=/home/user/dev/snake/
ExecStart=/usr/bin/stdbuf -oL /home/user/dev/snake/snake/server
Restart=always
RestartSec=2

User=dom

[Install]
WantedBy=multi-user.target
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].