/simple-railway-game

This is a monopoly-like game where player builds railroads in order win. It is based in the 1860s.

Primary LanguagePythonMIT LicenseMIT

simple-railway-game TRAVIS CI. It looks professional.

Please report any issues that you may encounter.

Hello there!

Sorry about this mess of code. My first code to reach over 150 lines!

This is a monopoly-like game where player builds railroads in order win. It is based in the 1860s.

Gameplay

This game requires four people. However, an adjustable party size is in the works. IT NOW SUPPORTS UP TO 26 PEOPLE!!!!!

Choose between Government funded or privately funded (Factions)

Player A: Select how you are going to start your railway: (Government/Private)

All you need to do is to type the first letter of the organization.

Government gives you less money, but you do not have to pay them back. (and more limitations such as no international lines, but that has not been implemented yet.)

Private gives you a lot more money, but you have to pay the investors back with interest.

Setting up your railway company

Government

Player A, you have chosen to get funded by the Government. You get less money, but you don't have to pay back.
Which project do you want to participate in?
(CA/US)>

Currently, there are two countries that you can accept offers from: Canada and the US. Which ever Country you choose, you are limited to that country, with unique challenges (That will be coming soon with Wildcards).

Private

Player C, choose your investor:
Investor A: 7850000.0 3.42% per 6 weeks
Investor B: 9120000.0 2.92% per 2 weeks
Investor C: 13930000.0 2.47% per 4 weeks
>

Private companies have to get funded by investors.
The numbers from left to right are:
1. Investment amount
2. Return rate
3. Time when interest applies

Choose a offering by selecting the investor's letter. Then the investor will pay you that amount of money. But you have to pay them back.

Select starting city

Player A:
1. Select starting point
2. Random city
>

It is pretty self explanatory. You can select a starting point, or you can let the program decide it for you. Remember, if your company is government founded, your stations will be limited to that country!

Pay your workers

Adjust wages between ethnic groups
1. White
2. Immigrants and Aboriginals
3. Black
4. All
n: Next Step

You can choose how much you can pay to different groups of people. selecting 4 will set all the wages to the same number you put in.
Select n afterwards to continue.

Hourly or Per KM?
1. Hourly
2. per KM
n: Next Player

This is where you can choose how to pay your workers. Select the method using the number, and press n to go to the next step.

Start

The first build

Calgary
[['Edmonton', 'Alberta', 551], ['Seattle', 'Washington', 961], ['Moscow', 'Idaho', 812], ['Kamloops', 'British Columbia', 714]]

Here you can choose where to build first. Just type any city. Don't worry about the capitalization. The third number represents the number between your station and the destination.

Now to the actual building.

How many workers do you want to hire? (Type any letters to cancel)>

Here you select how many people you want to hire.

ratio of workers (white) %>

Select the percentage of the group in your workforce. Keep in mind, this will change how you pay them and what the final score is.

"Total cost is $100000. That is around $100 per KM. Are you sure? (Y/N)>

Confirmation, and ....

It will take 765 weeks to complete.

Right. I forgot to mention. Every move is 4 weeks, or around month. (We need to work on a better move system.)

Le menu (TOTALLY NOT FRENCH)

Options:
1. Build More Railways
2. Research
3. Pay loan
4. Stop game
N: Next Player

From here, you can choose your path. Research allows faster build times and lower costs. However, that feature is not available yet. You can also stop the game anytime. The winner is the person with the highest points.

May the best win.