Giter Club home page Giter Club logo

klotski's Introduction

Klotski

effect

cd to application

and build :

go get github.com/fatih/color
go build

execute it:

./application

If you want to load your game file:

./application file-to-path.kls

1.There is some character in game and the same name in different pane represent one character who cover multi pane. As you can see caocao(cc) cover 4 pane.

2.You can only move one character one step at one times to empty pane.

3.It`s easy to find that there only two pane is empty.

4.If you want move character zu to right, you just input zu 1 0 and press enter.

5.If you want to move one character to up input name 0 -1, to down name 0 1, to left name -1 0.

6.If you want to save you schedule just input save, One there is a new file named like klotski-2017-****.kls.

7.When you wand load your game file which you saved before,run game with ./application filename.kls.

8.Once you move the Boss cc to the bottom of ChessBoard, you win.

9.Input q for quit, please insure your game schedule is saved.

Have a fun!

klotski's People

Contributors

yusank avatar yushan017 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.