Code Monkey home page Code Monkey logo

golab's Introduction

golab

Actions Status

This the reincarnation of my gophergala/golab game.

Introduction

Gopher's Labyrinth (or GoLab) is a 2D Labyrinth game where you control Gopher (who else) and your goal is to get to the Exit point. But beware of the bloodthirsty Bulldogs, the ancient enemies of gophers who are endlessly roaming the Labyrinth!

Controlling Gopher is very easy: just click with your left mouse button to where you want to move (there must be a free straight line to it). You may queue multiple target points forming a path. Right click clears the path. You may also use the arrow keys on your keyboard.

You may try out the game in your browser if it supports WebAssembly and WebGL here: https://icza.github.io/golab/

Screenshot

Under the hood

GoLab is written completely in Go. Go 1.13 or newer is required. The user interface and input handling is done with the gioui library, utilized in the view package.

The game model and game logic is placed in the engine package.

How to get it or install it

Of course in the "go way". You may quickly test it by initializing a new module in a folder by running:

go mod init test

And then run GoLab with:

go run github.com/icza/golab/cmd/golab

Or try it in your browser: https://icza.github.io/golab/

LICENSE

See LICENSE.

GoLab's Gopher is a derivative work based on the Go gopher which was designed by Renee French. (http://reneefrench.blogspot.com/). Licensed under the Creative Commons 3.0 Attributions license.

The source of other images can be found in the _images_/source.txt file.

golab's People

Contributors

icza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.