-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from PixPanz/dev
Dev
- Loading branch information
Showing
134 changed files
with
6,420 additions
and
650 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 208a62099f5da6bb1d5e4b41cbdcbbb5 | ||
config: 899d8a2c620a65c1461c8c480b8526f0 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,71 +1,59 @@ | ||
# Buildings | ||
Buildings can be constructed in your city to improve your city's functionality. Buildings can improve decrees, wealth, population, and structure. Without upgrading them, they sit as empty spots on your city. To build them, allocate effort to one of the buildings in `city.buildings`. However, buildings also require gold equal to the required effort to upgrade. Once the required amount of effort and gold required to upgrade is reached, the building will be upgraded. | ||
|
||
For example, if you wanted to allocate effort to the Instant Decree Booster, you would type `actions.add_effort(city.buildings[BuildingType.instant_decree_booster], amount)`. For more information on allocating effort, see [Effort](effort.html). | ||
For example, if you wanted to allocate effort to the Instant Decree Booster, you would type `actions.add_effort(city.buildings[BuildingType.police_station], amount)`. For more information on allocating effort, see [Effort](effort.html). | ||
|
||
There are 6 types of buildings: | ||
- [Instant Decree Booster](#instant-decree-booster) | ||
- [Lasting Decree Booster](#lasting-decree-booster) | ||
- [Wealth Booster](#wealth-booster) | ||
- [Population Booster](#population-booster) | ||
- [Structure Booster](#structure-booster) | ||
- [Everything Booster](#everything-booster) | ||
- [Police Station](#police-station) | ||
- [Gelato Shop](#gelato-shop) | ||
- [Mint](#mint) | ||
- [Billboard](#billboard) | ||
- [3D Printer](#3d-printer) | ||
- [Big Canoe](#big-canoe) | ||
|
||
|
||
## Instant Decree Booster | ||
Shown as the police station, this increases the effectiveness of your correctly guessed decrees for instant disasters by a multiplier that increases with each upgrade. | ||
## Police Station | ||
This increases the effectiveness of your correctly guessed decrees for instant disasters. | ||
|
||
Level | Effort Required | Damage Mitigated | ||
--- | --- | --- | ||
Base | 0 | 50% | ||
1 | 13800 | 55% | ||
2 | 18100 | 62.5% | ||
3 | 25300 | 75% | ||
1 | 40750 | 75% | ||
|
||
## Lasting Decree Booster | ||
Shown as the gelato shop, this increases the effectiveness of your correctly guessed decrees for lasting disasters by a multiplier that increases with each upgrade. | ||
## Gelato Shop | ||
This increases the effectiveness of your correctly guessed decrees for lasting disasters. | ||
|
||
Level | Effort Required | Damage Mitigated | ||
--- | --- | --- | ||
Base | 0 | 50% | ||
1 | 12000 | 55% | ||
2 | 15750 | 62.5% | ||
3 | 22000 | 75% | ||
1 | 35050 | 75% | ||
|
||
## Wealth Booster | ||
Shown as the bank, this gives you additional wealth by an amount that increases with each upgrade. | ||
## Mint | ||
This gives you additional wealth for free. | ||
|
||
Level | Effort Required | Wealth Added | ||
--- | --- | --- | ||
1 | 9600 | 20 | ||
2 | 12600 | 40 | ||
3 | 17600 | 60 | ||
1 | 28440 | 150 | ||
|
||
## Population Booster | ||
Shown as the billboard, this gives you additional population by an amount that increases with each upgrade. This does not increase your population above your structure level. This amount is added every turn. | ||
## Billboard | ||
This gives you additional population through tourism. This does not increase your population above your structure level. This amount is added every turn. | ||
|
||
Level | Effort Required | Population Added | ||
--- | --- | --- | ||
1 | 9600 | 5 | ||
2 | 12600 | 15 | ||
3 | 17600 | 25 | ||
1 | 28440 | 25 | ||
|
||
## Structure Booster | ||
Shown as the 3D printer, this gives you additional structure by an amount that increases with each upgrade. This does not increase your structure above your max structure level. This amount is added every turn. | ||
## 3D Printer | ||
Shown as the 3D printer, this gives you additional structure. This does not increase your structure above your max structure level. This amount is added every turn. | ||
|
||
Level | Effort Required | Structure Added | ||
--- | --- | --- | ||
1 | 12000 | 5 | ||
2 | 15750 | 15 | ||
3 | 22000 | 25 | ||
1 | 35050 | 25 | ||
|
||
## Everything Booster | ||
## Big Canoe | ||
The big canoe. This beast gives you additional wealth, population, and structure. As with the population and structure boosters, population and structure will not be added past their max. However, structure is added first, so if population and structure are equal, they will increase at equal rates. | ||
|
||
Level | Effort Required | Wealth Added | Population Added | Structure Added | ||
--- | --- | --- | --- | --- | ||
1 | 25000 | 20 | 10 | 10 | ||
2 | 35000 | 40 | 20 | 20 | ||
3 | 45000 | 60 | 30 | 30 | ||
1 | 80100 | 200 | 30 | 30 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Getting Started | ||
|
||
* First thing you should do is get acquainted with this documentation. It is your game manual! | ||
* Next, download the .zip file [here](https://drive.google.com/uc?export=download&id=1MHCV_sHKObTQF9K9FlUa3WvtCCri8m4z) and extract it. | ||
* Open a powershell window at that location by holding shift and right clicking in the extracted folder, then selecting "Open PowerShell window here." | ||
* Ensure Python is installed correctly and at least version 3.7. | ||
* Type `pipenv install -d` and wait for it to finish. | ||
* Type `pipenv shell`. | ||
* If your launcher is out of date, run `python ./launcher.pyz u` to get updates. | ||
* Type `python ./launcher.pyz s` to enter the scrimmage command line. | ||
* Type `r` to register your teamname. Follow on-screen instructions to enter it properly. | ||
* This creates vID file in your folder. This is your team ID number. Do not lose this file! You can share it with your teammates so they may submit code and view stats too. | ||
* Write your client code! You may edit the `my_client.py` file as you wish, or you may create any python file with "client" in the name. | ||
* To test your client, use your PowerShell window (that is in the Pipenv shell) to run `python ./launcher.pyz generate` to create a new world, `python ./launcher.pyz run` to test your client, and `python ./launcher.pyz visualizer` to view the results of the last run. | ||
* To submit your client, run `python ./launcher.pyz s` to enter the scrimmage command line, and use `s` to submit your code. | ||
* You may also use the scrimmage command line to view the leaderboard and your stats. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,19 @@ | ||
# Welcome to Byte-le Royale 2020!* [Introduction](intro.html)* [Decrees](decrees.html)* [Disasters](disasters.html) | ||
* [Buildings](buildings.html)* [Effort](effort.html)* [Turn](turn.html) <--- please make (example on GitHub wiki)* [API](API.html) | ||
# Welcome to Byte-le Royale 2020! | ||
|
||
* [Twitch](https://www.twitch.tv/ndsu_acm) | ||
* [Forum](http://forum.royale.ndacm.org) | ||
* [Website/Schedule](https://royale.ndacm.org) | ||
|
||
* [Introduction](intro.html) | ||
* [Getting started](getting_started.html) | ||
* [Buildings](buildings.html) | ||
* [City](city.html) | ||
* [Decrees](decrees.html) | ||
* [Disasters](disasters.html) | ||
* [Effort](effort.html) | ||
* [Sensors](sensors.html) | ||
* [Turn](turn.html) | ||
* [Upgrades](upgrades.html) | ||
* [API](API.html) | ||
* [Common Errors](common_errors.html) | ||
* [Visualizer](visualizer.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Sensors | ||
Sensors enable you to predict [disasters](disasters.html) before they happen. Correctly guessing which disaster will happen next can allow you to choose the correct [decree](decrees.html). There is a sensor for every disaster, and each one must be upgraded individually. The six sensors are named fire, tornado, blizzard, earthquake, monster, and ufo. | ||
|
||
Weather can be difficult to predict. The likelihood that certain disasters will occur will not be completely accurate. You can upgrade your sensors by allocating [effort](effort.html) to the sensor. Upgrading your sensor will make the sensor more accurate by decreasing the range up and down that it can be wrong. | ||
|
||
Level | Effort Cost | Sensor Inaccuracy Range | ||
--- | --- | --- | ||
Base | 0 | 100 | ||
1 | 4000 | 50 | ||
2 | 8500 | 20 | ||
3 | 13500 | 1 |
Oops, something went wrong.