Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » Stars! Extensions » Stars Core Engine
Re: Stars Core Engine Sun, 30 November 2014 02:30 Go to previous messageGo to previous message
Shadow Whist is currently offline Shadow Whist

 
Chief Warrant Officer 2

Messages: 167
Registered: August 2003
Location: Vancouver, WA
Update:

I have made some progress.
Here are some of the activities that could be tried from the command line if someone wanted to play around with the project.

(on Linux)
>python coreengine.py -h
>python coreengine.py -c_setup <new_setup_filename>
>python coreengine.py -n rabid_testgame -g <new_setup_filename>
(and others)


Very Happy Completed Items:

  • A custom setup .json file can be generated from the command line
  • A new game & new game file can be generated (with or without a custom file)
  • The .xy file with basic planet info is generated with a new game
  • Players are generated (requires using the custom setup file)
  • Player HW's are generated (added to the universe planet total)
  • A game can be loaded (generates 1 to n) turns (based on user input).
  • Currently the population grows on the HW. (Negative growth is not implemented)
  • more... Razz


While the .m file could be generated, I am holding off until later. My next priority is the standard technology structure. Technology is next because a Fleet requires a ship design, which requires tech.



Help would be appreciated Very Happy .

I believe there are a number of items that should be of minimal time investment. (Or at least, there is no need to grok the whole project code Rolling Eyes )

  • Generating random planet values (currently in universe.py ~ line 112 )
  • Negative population growth (in planet.py -> ~ line 141 )
  • Planet value calculation (in player.py: Player.planetValue() ) (uses Planet hab values in planet.py file)



Let me know if there are questions,
Thanks!

-SW


[Updated on: Sun, 30 November 2014 02:32]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Should Stars! files structures be publically available?
Next Topic: Stars! github organization
Goto Forum:
  


Current Time: Mon May 06 18:48:07 EDT 2024