A open source "Clone" of the freeware 4X game Aurora written in Java
ryancwilliams / starwaysold Goto Github PK
View Code? Open in Web Editor NEWA open source "Clone" of the freeware 4X game Aurora written in Java
A open source "Clone" of the freeware 4X game Aurora written in Java
Required for PolarPosition for issue #14
Create a system for creating formated strings for objects from Values of Quantities System.
Create a basic system for representing Values of Quantities. Should have one implementation of this system for testing purposes.
Create a object for representing a star.
At this poing the star object should have functions for accessing/generating:
Selected the Apache License, Version 2.0 because it is the best fit for this open source project.
See http://www.apache.org/foundation/license-faq.html#WhatDoesItMEAN for more info about the license.
Create the system map window.
Create a object for representing a planetary body in the engine.
Create a system to Load a game so it can be played.
This code
//Test Values of Quanties
ValueOfLength test = new ValueOfLength(1, QuantityOfLength.LIGHT_YEAR);
System.out.println(test);
System.out.println(test.asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.METRE).asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.KILOMETRE).asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.ASTRONOMICAL_UNIT).asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.LIGHT_YEAR).asString());
test = new ValueOfLength(0.1, QuantityOfLength.ASTRONOMICAL_UNIT);
System.out.println(test);
System.out.println(test.asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.METRE).asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.KILOMETRE).asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.ASTRONOMICAL_UNIT).asString());
System.out.println(test.getConvertedValueOfLength(QuantityOfLength.LIGHT_YEAR).asString());
gives
ValueOfLength{value=1.0, quantity=QuantityOfLength{Name=light-year, Symbol=ly, ConversionFactor=9.4607304725808E15}}
1.00 ly
0.00 m
0.00 km
0.00 au
1.00 ly
ValueOfLength{value=0.1, quantity=QuantityOfLength{Name=astronomical unit, Symbol=au, ConversionFactor=1.495978707E11}}
0.10 au
0.00 m
0.00 km
0.10 au
6,324.11 ly
this means that the unit conversion system is bugged.
Create the game window that is used to play the game. Should have menus to access other windows and time controles.
This window is the first window that the user sees on launch. It is for selecting and launching a existing game or for launching the new game generation window.
Create a system that can save and load games.
Create a UML diagram to help with Source Code Documentation for this project.
Currently .puml (PlantUML) is going to be used for the UML.
Create a system for managing positions in the game.
Should have finite Position object (X & Y)
Should have relative Position object (Finite Location + dX & dY)
Should have orbit Position object (Finite Location, Distance, Polar Angle of Position)
Astronomical objects or celestial objects are naturally occurring physical entities. - source Wikipedia
This object is to serve as the base-class for Stars and Planetary Bodies.
This object should have
-Diamater/Radius
-Mass
-Location (Relative to current system)
Enables Values of Quantities to use built in sorting functions.
Create a system to keep track of save games for the launcher
This is done to improve code cleanness. This is being done at this point because doing this in the future would require modification of many more classes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.