ai-games

AI Games: Collection of interactive games with AI opponents for Python.


Keywords
easy-games, game, game-development, games, pygame, pygame-games, python, simple-game
License
MIT
Install
pip install ai-games==0.1.6

Documentation

AI Games

Welcome to AI Games, a Python package featuring various games with AI opponents.

Installation

You can install AI Games using pip:

pip install ai_games

Connect Four with AI

The Connect Four with AI game in this package is adapted from a tutorial on YouTube created by Keith Galli.

from ai_games import Connect4Game, Config

# Custom configuration
config = Config(row_count=6, column_count=7)

# Initialize the game
game = Connect4Game(config=config)

# Start playing
game.play()

Features

  • Play against an AI opponent.
  • Customizable game settings.
  • Easy-to-use interface.
  • Easy-to-understand code.

Games Available

  • Connect Four with AI (Currently available)

Future Updates

Stay tuned for future updates as we add more exciting games to the AI Games package!

Contributors

License

This project is licensed under the MIT License - see the LICENSE file for details.