Skip to content

visadb/ff8_tthelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

142 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Final Fantasy VIII Triple Triad AI

This program will autonomously play a game of Triple Triad within Final Fantasy VIII (Steam edition, Windows). Game state is read from screenshots and the game is controlled by emulating keystrokes. Best moves are determined by a full depth alpha-beta minimax search that maximizes the card difference. All rule combinations that contain the Open rule are supported, and the AI is guaranteed to win the game if it is possible.

Instructions

  1. Install AutoHotkey
  2. Open this project in Visual Studio 2015
  3. Modify hardcoded paths in Program.fs
  • screenCaptureDir: directory where Steam stores screenshots of Final Fantasy VIII
  • ahkProg: Path to AutoHotkey exe.
  1. run ff8_tthelper by pressing Ctrl+F5 in Visual Studio
  2. run Final Fantasy VIII at 1920x1080 (important) and start a game of Triple Triad that has the Open rule
  3. Press F12 in rules screen to start the AI. It will play the game and you get to choose the spoils.

About

Final Fantasy VIII Triple Triad AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors