Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 840 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 840 Bytes

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