Skip to content

A simple Python implementation of align3 (you have to align 3 blobs together to win the game in upside-down gravity), vs a Minimax AI to play against a human. Uses tkinter for gui.

Notifications You must be signed in to change notification settings

p-paf/term-project

Repository files navigation

Align3 - a simple game

This repository covers the development of a simple board game step by step into a modular, maintainable and resuable code base.

Running the game

Run the game with python3 play.py. If this fails you might need to install python3-tk library for your python version.

For debugging, you can open a module in the interpreter with the following command python3 -i state.py. Following this you can type commands related to state into the interpreter and see their result.

Making your own game

  1. Fork the repo
  2. Make your own game

The code has been designed to be modular and will suit the needs of most 2D, perfect information, turn-based strategy board games.

About

A simple Python implementation of align3 (you have to align 3 blobs together to win the game in upside-down gravity), vs a Minimax AI to play against a human. Uses tkinter for gui.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages