Skip to content

A Tron game environment and intelligent bot that plays against opponents using probabilistic planning.

Notifications You must be signed in to change notification settings

mcoppolino/TRON

Repository files navigation

TRON

This is a Tron game environment and bot that intelligently chooses the maximizing move based on a game state. Code is written in python3. Run simulation with the command python3 gamerunner.py.

Overview

The bot begins by taking in the current state of the game in the form of an asp (TronProblem), and executes the following procedure to determine the maximizing action:

  1. Initialize free_space and opponent_free_space
  2. Determine weights for free space and power ups
  3. Determine max depth to use for alpha-beta cutoff
  4. Define evaluation function
  5. Run alpha-beta cutoff to find the maximizing action

A more detailed writeup of the decision making process can be found in README

About

A Tron game environment and intelligent bot that plays against opponents using probabilistic planning.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages