GithubHelp home page GithubHelp logo

yudshj / dspseedsearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crazyyao0/dspseedsearch

0.0 0.0 0.0 232 KB

This project is used to search the whole seed ranges for the game Dyson Sphere Program. Find the best seed meets your requirements.

License: Apache License 2.0

C++ 96.92% Python 3.08%

dspseedsearch's Introduction

dspseedsearch

This project is used to search the whole seed ranges for the game Dyson Sphere Program. Find the best seed meets your requirements.

It currently works for game version 0.9.26

I tried with the following conditions.

  • The star should be type O, which is the best star type for dyson sphere
  • The star is within 5LY from the birth planet.
  • The galaxy contains all kinds of rare resources except mono mag ore, including sulphuric acid
  • The galaxy has at least one Gas planet which produces hydrogen and deuterium. hydrogen is much useful than fire ice, because fire ice can be gatherd from the other plannets
  • The galaxy's first planet is tidal locked.

It finishes in 40 minutes with about 800 cores and there are 2294 records meets the requirement. you can find the result in result.txt and csv.txt

To run the project

  1. You will need one feed server and several worker servers.
  2. Modify DSPSeedSearch.py. Input the feed server's ip address.
  3. Run python3 feedserver.py on the feed server.
  4. Run python3 DSPSeedSearch.py on each worker servers.
  5. Wait until 33000 batches have been processed by the worker servers.

To compile the project

g++ -O3 -DSUPPORT_AVX2 -mavx2 -o DSPSeedCalc DSPSeedCalc.cpp

Part of the code in LDB.hpp is generated by dsptheme.py and ThemeProtoSet.xml

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.