danlaudk / wsinvaders

Whitespace Invaders: Galactic Conquest ported to VisiData

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wsinvaders

Whitespace Invaders: Galactic Conquest ported to VisiData

Instructions

Starting a game

The host has to start a server:

$ ./wsi-server.py

All players then start their clients and login:

$ ./wsi-client.py http://localhost:8080

(or whatever url works to access the server)

The first time a player name is used, the password is set. Players join the game if it has not yet started (each server only hosts one game).

Each player presses ENTER when they are ready for the game to start.

Press M to go to the Map for this game, or P for the list of planets. Any player can press N to generate a New map (Ctrl-R to Reload the pages).

When the map is all players are ready, the game begins.

Playing the game

From any sheet:

  • M opens the planet map
  • P opens the planet sheet
  • U opens the queued deployments sheet (not yet sent to server)
  • D opens the full deployments sheet
  • E opens the events sheet
  • Q allows players to quit.
  • Ctrl-S submits the pending deployments to the server and signals the player is done

On the Planet sheet:

  • m marks the destination planet for a player's ships
  • f indicates the source planet
  • The player is then prompted to specify how many ships they wish to deploy from the source planet to the marked planet
  • gf sends the provided number of ships from all selected planets to the marked planet

On the Map sheet:

  • The colour of the planet name indicates which player currently 'owns' it
  • White planets are neutral and currently not in anybody's control
  • SPACE cycles through name, prod and killpct fields
  • You may also mark and deploy on the map sheet, like you would on the Planet sheet

On the U queued orders sheet:

  • e to modify an order
  • d to delete an order

Whitespace invaders is a VisiData app. VisiData commands such as column sorting and cell searching are also available.

When all players have submitted their moves, the turn is over. Ships arrive, battles are resolved, and planets produce. Then the next turn begins.

About

Whitespace Invaders: Galactic Conquest ported to VisiData

License:MIT License


Languages

Language:Python 100.0%