Giter Club home page Giter Club logo

libredo's Introduction

REDO LIBRARY

libredo is a simple library that makes it easy to add powerful undo
and redo commands to a logic puzzle game (or similar type of program).
Many such programs that provide undo and redo commands will remember
undone states only while a user is using these two commands. Once the
user uses some other command that changes state in a new way, all of
the undone states are forgotten. This limited functionality is common,
if not ubiquitous. I would like to see more programs offer something
better: that is what this library is provided for.


INSTALLATION

The libredo package provides the usual facility for building and
installing via:

    ./configure
    make
    make install

The redo library is very simple. It consists of one C file and one
header file, and requires no unusual support from the compiler. Thus,
an alternative to installing the library is just to copy redo.[ch]
into your own project and use it directly.


DOCUMENTATION

The file libredo.html describes the library's API and how it is used.
(The same document is also made available as a man page, and a plain
text file.) In addition, the header file comments also provide brief
descriptions of each function call.

There is also an example program included (sokoban-example) which
provides a practical demonstration of the full API.


COPYRIGHT AND LICENSE

Copyright (C) 2013-2021 Brian Raiter.

These programs are free software; you can redistribute them and/or
modify them under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version. These programs are
distributed in the hope that they will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License,
included in this distribution in the file COPYING, for more details.


FURTHER RESOURCES

The home page for libredo is located at:

  http://www.muppetlabs.com/~breadbox/software/libredo.html

Bug reports and general feedback should be directed to the author at
the address below. If you use this library in your own code, consider
dropping me a line to let me know. (You should also let me know if you
tried to use this library in your code, but it didn't do what you
needed.)

Happy coding.


Brian Raiter
<[email protected]>

libredo's People

Contributors

br903 avatar

Watchers

 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.