Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/