Skip to content

Destom/chessbarian

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chessbarian

The Plan

the world

  1. Chess board
    array of arrays always same width and height
  2. barian
    able to move like a king at first
    apply other ways of moving when different piece type selected
  3. NPCs
    collection of other pieces that can move like chess pieces
    their move is alwas to put the barian in check (hurt on next move) or to get closer to doing it (this should be random not the first option for them)

the turns

  1. barian moves first using the piece configured (again king by default)
    1. If landing on an enemy piece remove it from the game
    2. If landing on an empty square nothing happens
    3. if landing on a conversion square save piece type for available later
  2. opponent move
    1. If landing on the barian game over
    2. if landing on an empty space look for check and warn if needed.

Things that need fixing/next steps

  • give the barbarian some space at start (only if possible)
  • biship move list

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages