[![Build Status](https://travis-ci.org/tuomount/Open-Realms-of-Stars.svg?branch=master)](https://travis-ci.org/tuomount/Open-Realms-of-Stars)
# Open Realm of Stars
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/src/main/resources/resources/images/oros-logo128.png)
Open Realm of Stars is an open source 4X strategy game. Developed
using Java. The game requires at minimum Swing and Java 7 to run.
### Explore the galaxy
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/starmap.png)
Move your fleet in a randomly generated galaxy. Encouter other species, and find new planets to colonize. Explore mysterious space anomalies.
### Manage your own planets
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/planet.png)
Manage your planets gain access to better buildings and ships. Population management is key to acquiring more culture, research, metal and production.
### Have diplomacy with other space faring races
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/diplomacy.png)
Make friends and enemies while traveling to outer realms. Form trade alliances, and defensive pacts to establish technology trade with other races. Make good diplomatic relations all other realms and win voting for ruler of the galaxy.
### Deep space combat
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/combat.png)
Fight enemies with customizable ship designs. Ship components have their own hit points and energy requirements to use them. Components will be rendered useless if hitpoints are depleted or energy requirements are not met. This makes space battles dynamic. A lucky shot by allied ship to an enemies fusion reactor will make them immobile on the battlefield. Fleets with advanced technologies have significant advantages, however luck or number of ships can sway the battle in your favor.
### Conquering the planets
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/bombing.png)
Conquer enemy planets. Drop bombs to clear out enemy troops, then deploy your own ground troops to seize control.
### Leaders
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/leaders.png)
Each realm can have unique characters called leaders. These leaders can act as governors, fleet commanders and rulers. Each of the leader will gain perks which give bonus(negative or positive) on task they are performing. Leaders have limited life span and they will die for old age, but new ones can be replace the old one. Some rulers can have heirs which will eventually replace parents. These leaders can have also internal power struggles in certain government types.
### The history
![](https://github.com/tuomount/Open-Realms-of-Stars/raw/master/ArtModification/screenshots/history.png)
After a game players are given a quick overview of major galactic events and how other realms did during the game. There will be also history events of all major events that leaders did during their time in the game.
See more [screenshots](https://github.com/tuomount/Open-Realms-of-Stars/tree/master/ArtModification/screenshots)
### Features
* Randomized galaxy with three different starting placements
* 10 different space races to play
* 15 different government types to play
* Any realm can start as ancient realm even human player
* Random events
* Planetary events
* Space anomalies
* Space pirates
* Privateering, trade fleets are actual ships which can be privateered
* Diplomatic relations between realms (War, Peace, Trade war, Trade Alliance, Defensive Pact and Alliance)
* AI remembers how it has been treated and will treat others accordingly
* Galactic Olympics to influence to other realms
* Technology can be traded in diplomatic trades
* If two realms are in alliance they won the game together.
* Possibility to fake military power in the galactic news (Can be lower or higher)
* Espionage ships and espionage missions with leaders
* Leaders acting as rulers, governors and commanders
* 6 Different technology branches each with 10 levels
* Each new technology will give either new ship component, ship hull or planetary improvement.
* All ships are designed based on currently available technology
* AI does not cheat and each AI is trying to make their own realm as strong as possible
* Turn based space combat
* Planets can conquered with troops and bombs
## Warning about saved games working on newer version
Since Open Realms of Stars is still under development I cannot guarantee that
old saves will work for new versions. Backwards compatibility will
be broken when adding new features.
## Compiling the Project
Open Realm of Stars can be compiled with Maven.
Install maven and then run command:
``mvn install``
In the target directory a zip file contains all dependecies to run the Game.
Unzip, navigate to the newly extracted path and run ``Open-Realm-of-Stars-?.?.?.jar``
with following command ``java -jar Open-Realm-of-Stars-?.?.?.jar``. Note that the question
marks need to correspond to the correct build version.
Git project also contains an Eclipse project which should automatically compile it.
All java files under src folder needs to be compiled. Even when compiling Eclipse
run first maven command (``mvn install``) to fetch all the dependencies.
### Troubleshooting on compile
If you encounter following error while running command ``mvn install``:
``Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter``
it is due bug in certain OpenJDK or Oracle Java version. See more information on Launchpad:
https://bugs.launchpad.net/ubuntu/+source/openjdk-8/+bug/1800792
Workaround is to use following command instead: (``mvn install -DforkCount=0``)
## Warning about using non stable version
Compiling non-stable releases is not recommended.
Non-stable versions of Open Realms of Stars may contain game breaking bugs that make the game unplayable.
The game is constantly being developed for and new features may introduce bugs.
If you encounter any critical bugs create a new issue for it. Use the stable release version, or wait for a new fix.
If you're interested in contributing to the project you are welcome to fix it. Contribution guidelines are outlined below.
## Running the game
Open Realms of Stars can be run from the Jar file or running compiled class.
## How to contribute
Before contributing to the project you should play the game first. Understand the underlying game mechanics.
The simplest way to contribute to the project is to test out the game and if you encounter any bug raise an issue on the Git page.
Please check to see if your issue has been posted before making new issue.
If you want to contribute code, fork the project and make the change. Be sure to add any unit tests where needed.
Run the code through JUnits and checkstyle before making a pull request. This can be done using ``mvn verify``.
### Guide lines for making pull requests
* Pull request should contain single logical change.
* Coding styling change should be on separate pull requests.
* Commit messages should be descriptive. If you are fixing an issue start commit line with #ISSUENUMBER.
* Pull request should not contain merge commits from other branches.
* Contributors retain their original copyrights. All code contributions must be under GPL2.0.
I will try to take a look at pull requests as fast as I can.
If you are adding any new assets take a look at the next section for instructions.
### Contributing assets
Graphics should be licensed with CC-BY-SA and Sounds/Music with CC-BY. Also CC-BY-SA
for music and sounds is okay, but the credits page will need to be updated.
Fonts needs to be licensed with SIL Open Font License.
See more information on [CONTRIBUTING.md](https://github.com/tuomount/Open-Realms-of-Stars/bl
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
开放之星 星空开放领域是一款开源4X策略游戏。 使用Java开发。 该游戏至少需要运行Swing和Java 7。 探索银河系 在随机产生的星系中移动舰队。 吸引其他物种,并寻找新的星球定居。 探索神秘的太空异常。 管理自己的星球 管理您的星球可以访问更好的建筑物和船只。 人口管理是获取更多文化,研究,金属和生产的关键。 与其他太空竞赛有外交关系 前往外部世界时结交朋友和敌人。 建立贸易联盟和防御协议,与其他种族建立技术贸易。 与其他所有领域建立良好的外交关系,并赢得对银河系统治者的投票。 深空作战 使用可自定义的飞船设计与敌人作战。 船舶部件有其自身的生命值和使用能量的要求。 如果耗尽了生命值或不满足能源要求,组件将变得无用。 这使太空战斗充满活力。 盟军船只向敌方聚变React堆开枪,将使他们在战场上无法移动。 拥有先进技术的舰队具有显着的优势,但是运气或船只数量可以使您的战场
资源详情
资源评论
资源推荐
收起资源包目录
开放之星:4X策略游戏 (1216个子文件)
.classpath 1KB
.gitignore 338B
desktop.ini 142B
desktop.ini 142B
desktop.ini 142B
desktop.ini 142B
desktop.ini 142B
StarMap.java 143KB
MissionHandling.java 132KB
AITurnView.java 130KB
NewsFactory.java 113KB
Game.java 107KB
PlanetHandlingTest.java 105KB
NewsFactoryTest.java 100KB
Planet.java 99KB
DiplomaticTrade.java 90KB
ShipComponentFactory.java 81KB
Ship2Test.java 78KB
StarMapTest.java 74KB
Combat.java 74KB
DiplomacyView.java 73KB
NameGenerator.java 73KB
DiplomaticTradeTest.java 72KB
PlanetHandling.java 64KB
MapPanel.java 61KB
Ship.java 58KB
PlayerInfo.java 57KB
RandomEventUtility.java 55KB
LeaderUtility.java 48KB
TechFactory.java 47KB
StarMapUtilitiesTest.java 46KB
ShipGenerator.java 45KB
GuiStatics.java 43KB
SpeechFactory.java 41KB
TechList.java 40KB
BuildingFactory.java 37KB
ImageInstruction.java 37KB
PlayerInfoTest.java 36KB
GalaxyCreationView.java 35KB
ShipTest.java 34KB
ResearchView.java 33KB
Research.java 32KB
Bridge.java 31KB
PlanetBombingView.java 31KB
StarMapUtilities.java 31KB
FleetView.java 30KB
PlanetView.java 30KB
ShipDesign.java 29KB
StatView.java 28KB
AmbientLightView.java 28KB
Fleet.java 27KB
PlanetTest.java 27KB
FleetTest.java 27KB
MissionHandlingTest.java 26KB
SpaceRace.java 26KB
ShipDesignView.java 26KB
ResearchTest.java 26KB
NewsCorpDataTest.java 26KB
CombatTest.java 25KB
LeaderUtilityTest.java 24KB
Combat2Test.java 23KB
DiplomacyTest.java 23KB
EspionageMissionView.java 22KB
Diplomacy.java 22KB
CombatAnimation.java 22KB
ShipDesign2Test.java 21KB
ImageInstructionTest.java 21KB
BigImagePanel.java 19KB
AiTurnViewTest.java 19KB
StarMapView.java 19KB
Icons.java 19KB
CreditsView.java 19KB
ShipDesignTest.java 19KB
GameCommands.java 18KB
RandomEventUtilityTest.java 18KB
GalaxyConfig.java 18KB
SpaceAnomaly.java 18KB
ShipComponent.java 18KB
CombatShip.java 18KB
VoteView.java 16KB
HistoryView.java 16KB
StarMapMouseListener.java 15KB
OptionsView.java 15KB
SpaceAnomalyTest.java 15KB
PlanetTypes.java 15KB
MissionList.java 15KB
OggPlayer.java 15KB
Perk.java 15KB
MapInfoPanel.java 15KB
Tiles.java 14KB
TechListTest.java 14KB
ConfigFile.java 14KB
Building.java 14KB
BattleView.java 14KB
PlayerSetupView.java 13KB
ShipHullFactory.java 13KB
CombatAnimationTest.java 13KB
Leader.java 13KB
TileNames.java 13KB
MusicPlayer.java 13KB
共 1216 条
- 1
- 2
- 3
- 4
- 5
- 6
- 13
moseswangbp981
- 粉丝: 26
- 资源: 4639
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python 手写实现 iD3 决策树算法-根据信息增益公式.zip
- 411675952289057车联助手-小窗版(三星)3.5.1.apk
- 三种快速排序方法合并在一个文件中以便直接运行的Python代码示例
- 937712277954201实习5.word
- 2程序语言基础知识pdf1_1716337722703.jpeg
- 简单的Python示例,演示了如何使用TCP/IP协议进行基本的客户端和服务器通信
- 考试.sql
- keil2 + proteus + 8051.exe
- 1961ee27df03bd4595d28e24b00dde4e_744c805f7e4fb4d40fa3f695bfbab035_8(1).c
- mediapipe-0.9.0.1-cp37-cp37m-win-amd64.whl.zip
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0