Skip to content

kanlkan/animal-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

animal-chess

Animal Chess made of FXRuby

How to play

  • Install FXRuby by following it

  • run animal_chess.rb

animal-chess

  • Each piece has red marker(s) which mean(s) movable direction
    • L : Lion
    • E : Elephant
    • G : Giraffe
    • c : chick
    • C : cock
  • Take the piece with right click
  • Goal
    • Catch the opponent's Lion
    • Try my Lion into opponent's area

Computer thinking

  • Moving the pieces randomly in the range of rules for each turn
  • If the computer can catch the opponent's Lion, catch it

Detail resource

https://qiita.com/kanlkan/items/20953c22a0306f51896d