Skip to content

Simple Tic-Tac-Toe game implementation using Unity3D game engine

License

Notifications You must be signed in to change notification settings

Troilk/TicTacToe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Tic-Tac-Toe game implementation using Unity3D game engine.

WebGL build

Game consists of 2 scenes (Menu and Gameplay). In Menu scene you can select 1 of 3 difficulties.

  • On Impossible AI will use MinMax tree to find optimal move.
  • On Normal difficulty AI will use MinMax tree but with some probability it will select random move instead of optimal on each turn.
  • On Easy difficulty you will play against random AI - it will select random free tile on map to place it’s mark.

In gameplay scene you can view your current stats (victories, losses, draws). NOTE: these counters are unique for each difficulty level. Player whose turn is in progress is displayed in the bottom - for now AI decides it’s turn very fast (MinMax tree is generated and kept in memory), so you will not see enemy turn displayed.

Game is implemented using MVC and State Machine patterns.

Used Libraries

  • GoKitLite - for easings
  • StateKit - lightweight state machine implementation
  • SoundKit - simple pooled audio playback helper
  • NotNullAttribute - custom attribute, used to ensure that object references are properly set up

Used Images/Textures

Used Fonts

Used Sounds/SFX

About

Simple Tic-Tac-Toe game implementation using Unity3D game engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages