Skip to content

A simple implementation of Tic Tac Toe using controladdin object type

Notifications You must be signed in to change notification settings

bwdeleeuw/TicTacToeAL

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tic Tac Toe for AL

Welcome to this Tic Tac Toe for AL repository.

This repository contains an example of controladdin that provides simple Tic Tac Toe game that you can play against "AI" in NAV. This "AI" is actually very stupid - it plays random moves, but at the same time it is also very smart, because it implements extensibility through eventing, and applies the Handled pattern so you can easily inject your own AI algorithm that replaces the built-in randomness with some kick-bottom smartness of your own.

Contributing

The first person who sends a pull request with a working plug in that applies the correct pattern gets a special gift from me. A standing ovation, credit on my blog, and mention at all of my sessions where I present this demo are in order, but you can also have a drink on me when we meet at a conference or something.

About

A simple implementation of Tic Tac Toe using controladdin object type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 75.5%
  • JavaScript 15.7%
  • CSS 8.8%