The Game - nsobczak/SpacePigFighter GitHub Wiki
SpacePigFighter
"Space Pig Fighter" is a game that is played in the terminal by 2 players. Each player is a space pig and have to beat the other one.
A game happens in 2 phases. The first one is a spacecraft battle. The second one is a melee battle. Each spacecraft has several caracteristics. Each pig has several caracteristics and some weapon.
How to play ?
When you enter the terminal, your welcome to choose your pig pseudo and color, your spacecraft color.
Rules
Animal class
Here are the animal classes :
Animal class | life | force | resistance | special attack |
---|---|---|---|---|
Bear | mid | mid | big | damageAnnulation |
Chicken | low | big | mid | triple attack |
Duck | big | mid | low | fly |
Pig | mid | low | big | moreDamage |
Tiger | mid | big | low | paralyze foe which can't attack next turn |
Animal class | life | force | resistance | special attack |
---|---|---|---|---|
Bear | 1000 | 110 | 40 | damageAnnulation: nn |
Chicken | 800 | 130 | 20 | triple attack: nn |
Duck | 1200 | 110 | 0 | fly: nn |
Pig | 1000 | 90 | 40 | moreDamage: nn |
Tiger | 1000 | 130 | 0 | paralyze foe which can't attack next turn: nn |
Animal specialAttack
- Bear : damageAnnulation
- Pig : moreDamage
- Tiger : paralyze foe which can't attack next turn
- Chicken : tripleAttack, 1 turn to charge
- Duck : fly, dodge current attack and attack next turn
Meteorites malus
Size | Malus |
---|---|
small | -20 hp |
medium | -50 hp |
big | -100 hp |
Stuff choice
You have 2 skill points to share between offensif and defensif stuff. You may choose to boost your attack at the expense of the your defense or to boost your defense at the expense of the your attack. Unless you prefer to choose a well balanced build.
Build | Attack points | Defense points |
---|---|---|
Offensive | 2 | 0 |
Well balanced | 1 | 1 |
Defensive | 0 | 2 |
Build | Offensive stuff | Stats bonus | Defensive stuff | Stats bonus |
---|---|---|---|---|
Offensive | Axe | 40 | None | 00 |
Well balanced | Sword | 20 | Helmet | 20 |
Defensive | None | 00 | Shield | 40 |
How it is thought/programmed
Each player plays when it is its turn.