snake

by dom96

dom96 /snake

A little snake game in Nim

140 Stars 5 Forks Last release: Not found MIT License 112 Commits 1 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

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= 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

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.