Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Petty kingdoms - a js13kGames 2023 competition entry by @wiserim.

License

Notifications You must be signed in to change notification settings

js13kGames/petty-kingdoms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Petty kingdoms - js13kGames 2023

Entry for js13kGames 2023

Description

Take control over one of 4 kingdoms and unite the land under your rule.

Recruit, move armies and counquer your neighbours.

Features

  • Up to 4 players local multiplayer (hot seat)
  • Computer controlled opponents
  • Map generation
  • 3 map sizes (10, 16 and 36 regions)
  • Full screen mode (if supported)

Controls

Click / touch to interact.

Tips

  • To buy / send troops you have to click region owned by you first.
  • You can move your troops only to directly neighbouring regions.
  • After recruiting, moving or attacking, used troops cannot move or attack till the next turn (but can defend the region).
  • During attack either attacker or defender can receive advantage: 0-50% increase to army power.

Building game

To build and zip game use npm run build command.

The build HTML file and it's zip file will be in build folder.

Known issues

Game is using SVG graphics extensively which can cause problems with rendering on Safari browser (macOS and iOS).

The other browsers (Chrome, Firefox, Opera, Edge) display game properly.