Giter VIP home page Giter VIP logo

chocobun's Introduction

Chocobun

Chocobun is a cross-platform Sokoban engine. It is specifically being designed to be able to run as a back-end for any sokoban game.

Features and progress

  • Importers/Exporters
    • ( 90%) .SOK file importer/exporter
    • ( 0%) SBML markup language importer/exporter
  • Player dynamics
    • (done) Basic movement of the player on levels
    • ( 60%) Undo/Redo moves
    • ( 0%) Move the player using a path-finder
  • Level dynamics
    • ( 0%) Validate levels, make sure they are solvable
    • ( 0%) Level solver
  • Misc
    • ( 0%) Generic A* path-finder

Compiling Chocobun

You need to have premake version 4.0 or later installed in order to generate build files. You can download it here:

http://industriousone.com/premake

You can generate the required build files by navigating to the project's root directory and running premake <generator>. After that you may build the project as usual.

Here is an example of building it using GNU makefiles.

# generate GNU makefiles
$ premake gmake

# compile
$ make

Running Chocobun

To simply answer this, you can't run it. Why? Because it's an engine. It's designed to function as a back-end for a game.

With that said, there are two projects included with Chocobun. A console front-end, and an SFML-2.1 front-end. These both use Chocobun, and should serve as an example of how to interface the engine.

Running chocobun-console

On Windows, you can simply double-click on the executable in bin/debug/chocobun-console.exe

On POSIX systems, the dynamic libs need to be explicitely linked. This involves some terminal interaction:

# navigate to the executable
$ cd bin/debug

# the chocobun engine is built to bin/debug, so add
# it to the library path
$ export LD_LIBRARY_PATH=.

# now we can run it
$ ./chocobun-console

Running chocobun-sfml

This program hasn't been written yet.

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.