GithubHelp home page GithubHelp logo

bitti / funcraft Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 199 KB

Port of Notch's Minicraft in a functional way

License: GNU General Public License v3.0

Clojure 100.00%
minicraft clojure functional-programming

funcraft's Introduction

Funcraft - a Clojure port of Minicraft

This is a fun little project to learn how to rewrite an highly imperative Java program in a functional way in Clojure.

Markus Persson (alias Notch, known as the creator of Minecraft) created Minicraft in just 48 hours for the 22nd Ludum Dare Competition. Despite the short development time it is a completely functional and high quality game. At the same time it is small enough to be ported or enhanced in a reasonable amount of time. Indeed lots of ports exists already (see the list below).

While he released the source code, he didn't assign any license to it, so technically the original source and artwork still falls under his copyright, but he gave permissions to make clones under a different name.

Since this is just a learning project to see how to rewrite a highly imperative OO program in a functional way in Clojure while at least trying to keep similar performance characteristics as the original I kept the style of just using the swing libraries in low-level way as opposed to using a gaming library like libgdx.

I'm not sure how far I go with this and currently you can not much besides walking and swimming around.

Installation

Clone from https://github.com/bitti/funcraft

$ git clone https://github.com/bitti/funcraft.git

Build with

$ cd funcraft
$ lein uberjar

Usage

After building start with

$ java -jar target/uberjar/funcraft-0.2.0-standalone.jar

Currently tested with Clojure 1.9.0 and Java 8.

Alternative clones

License

Distributed under the GNU Public License, Version 3

The original work is Copyright © 2011 By Markus Persson

funcraft's People

Contributors

bitti avatar bsteuber avatar david-ongaro avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

bsteuber

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.