Skip to content

VictoriaChrl/KotlinBattleImitation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

It is a console program that simulates a battle between two teams, monitors the progress of the battle and collects information about it.

The team consists of warriors, each of which has basic characteristics and weapons depending on which class of warriors he belongs to. For example: soldier, captain, general, recruit.

The battle takes place step by step: each warrior from the team attacks the enemy from the other team, and can also be attacked on the next turn of the enemy.

This "game" displays the current course of the battle in the console.

You can run the "game" in main.kt and change the number of members for two teams.

Releases

No releases published

Packages

No packages published

Languages