Giter Site home page Giter Site logo

Comments (6)

amarseillan-zz avatar amarseillan-zz commented on May 1, 2024

+1

from craft.

MrSilent avatar MrSilent commented on May 1, 2024

What would be the point of this? As is the servers job is to relay changes in the database to all connected clients. This is efficient since it doesn't require clients to download the entire database on reconnect. Adding the task of block generation would only give the server an extra job and inhibit performance.

from craft.

Bergasms avatar Bergasms commented on May 1, 2024

@MrSilent it is pretty much a requirement if you want to simulate animals and mobs that are visible to all players. Else you would need to establish who is simulating what. Other than that it's not required I guess.

from craft.

fogleman avatar fogleman commented on May 1, 2024

There are some things that the server cannot validate - like destruction of clouds - without knowing the default map.

  • Destroy blocks that are not destructable (clouds).
  • Place blocks on top of flowers.
  • Places blocks mid-air.

Also, if a block is set to 0 (EMPTY) and it was EMPTY in the default world anyway, the server could save space.

from craft.

MrSilent avatar MrSilent commented on May 1, 2024

@Bergasms If simulating AI is what you want why use python? This would make the server less portable for guys running it on raspberry pi as the board just can't handle running the binary(though it did build smoothly). In short. The python server is simple, and portable so if anything a new branch should be made to offer an interactive mode and a build only mode.

from craft.

fogleman avatar fogleman commented on May 1, 2024

Fixed with addition of world.py...

https://github.com/fogleman/Craft/blob/master/world.py

from craft.

Related Issues (20)

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.