Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/siongui/go-online-snake-game
Golang online snake game, compiled to JavaScript by GopherJS
https://github.com/siongui/go-online-snake-game
demo frontend go gopherjs snake-game
Last synced: 1 day ago
JSON representation
Golang online snake game, compiled to JavaScript by GopherJS
- Host: GitHub
- URL: https://github.com/siongui/go-online-snake-game
- Owner: siongui
- License: unlicense
- Created: 2016-01-13T00:10:21.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-13T00:17:29.000Z (about 9 years ago)
- Last Synced: 2023-03-27T17:13:04.799Z (almost 2 years ago)
- Topics: demo, frontend, go, gopherjs, snake-game
- Language: Go
- Homepage: https://siongui.github.io/go-online-snake-game/
- Size: 187 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
=====================
Go_ Online Snake Game
=====================Golang_ online snake game, compiled to JavaScript by GopherJS_.
Usage
=====1. Development environment is ``Ubuntu 15.10`` and ``Go 1.5.2``.
2. Download and install Go_ and modify **GOROOT** in Makefile.
3. Install GopherJS_ and its `DOM binding`_:
.. code-block:: bash
$ make install
4. Run the code by:
.. code-block:: bash
$ make
Then open your browser at `localhost:8000 `_
Online Demo
===========See `project page `_.
UNLICENSE_
==========Released in public domain. See UNLICENSE_.
References
==========.. [1] `siongui/dart-snake-game · GitHub `_
(`demo `__).. [2] Google Search `golang queue `_
`go - Queue implementation in golang - Stack Overflow `_
.. [3] `time - The Go Programming Language `_
.. [4] `rand - The Go Programming Language `_
.. [5] Google Search `golang traverse array `_
`Is there a foreach in Go? - Stack Overflow `_
.. [6] Google Search `golang do while `_
.. [7] Google Search `golang int to string `_
.. [8] `fmt - The Go Programming Language `_
.. [9] Google Search `golang periodic timer `_
`go - Is there a way to do repetitive tasks at intervals in golang? - Stack Overflow `_
.. [10] Google Search `golang prepend slice `_
.. _Go: https://golang.org/
.. _Golang: https://golang.org/
.. _GopherJS: http://www.gopherjs.org/
.. _DOM binding: https://godoc.org/honnef.co/go/js/dom
.. _UNLICENSE: http://unlicense.org/