https://github.com/cheind/py-classic-ai

Various classic artificial intelligence algorithms applied to common problems.

https://github.com/cheind/py-classic-ai

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.8%) to scientific vocabulary

Keywords

4connect artificial-intelligence minimax search
Last synced: 9 months ago · JSON representation

Repository

Various classic artificial intelligence algorithms applied to common problems.

Basic Info
  • Host: GitHub
  • Owner: cheind
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: master
  • Size: 13.7 KB
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
4connect artificial-intelligence minimax search
Created over 8 years ago · Last pushed about 8 years ago
Metadata Files
Readme License

README.md

py-classic-ai

Various classic artificial intelligence algorithms applied to common problems.

connectfour.py

Connect Four is a two player game where one player attempts to connect 4 discs (horizontally, vertically or diagonally) while preventing the other player from doing so. The code allows you to play the game against a artificial agent utilizing a depth limited adversarial MiniMax search to determine its next move. In particular, the implementation is based on Negamax and uses Alpha-Beta pruning to quickly discard search regions.

sudoku.py

Sudoku is logical number puzzle game. The objective is to fill a 9x9 grid with digits such that each digit from 1 to 9 occurs exactly once along each row, each column and each 3x3 sub-grid. According to this article the fewest number of cells filled for a unique solution is 17. The solver implemented is based on greedy search utilizing a depth-first search traversal and a heuristic that sorts potential moves based on the number of unconstrained neighbor cells for a given cell. The more numbers along the cell's row/column/sub-grid are known, the better the heuristic. The heuristic works well in practice and leads to almost always a solution when reaching the first leaf. Occasionally, when only few cells are filled from the beginning, multiple digit choices are available for a single cell and the algorithm might fail to choose the correct one. However it will backtrack to the correct solution if there is one.

Owner

  • Name: Christoph Heindl
  • Login: cheind
  • Kind: user
  • Location: Austrian area

I am a computer scientist working at the interface of perception, robotics and deep learning.

GitHub Events

Total
Last Year

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels