+
Skip to content

blairious/TTT-Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 

Repository files navigation

Tic-Tac-Toe Player

Created in C# by Blair Palmerlee

Overview

TTT Player is a console based application built as an excercise in simple computer strategy. This runs in the terminal of Windows computers.

In this terminal-based game, the player is prompted to either place their piece first or second. Play then commenses on a Tic Tac Toe board where rows are numbered 1-3 and columns are lettered A-B.

Play ends with a win, lose, or tie.

Computer choices

The computer player choices are made based on a virtual heatmap generated every time a move is made. Based on proximity to taken spaces and if a space would trigger a win or loss, the program adds value to spaces. When the computer takes its turn it selects the highest value space on the board.

About

Tic Tac Toe logic in a console app.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载