connect_4

A Connect 4 class for Crystal

connect_4

A simple Connect 4 program with AI opponent written in Crystal

Usage

  1. Compile source file ./src/connect_4.cr
  2. Game class has methods for three types of players: -human_player: asks user for input -ai_player: a fairly greedy ai -neural_ai: neural network-based ai; takes three Matrix-class matricies as input(opponent neural networks forthcoming)

Contributing

  1. Fork it ( https://github.com/papaskrobe/connect_4/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

Repository

connect_4

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 6 years ago
  • May 11, 2017
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 18:02:00 GMT

Languages