Tic-Tac-Toe Game with Perl script Publisher Review:
Tic-Tac-Toe Game with Perl script Tic-Tac-Toe Game with Perl script uses reinforcement learning to implement Tic-Tac-Toe game.
Tic-Tac-Toe Game with Perl script uses reinforcement learning to implement Tic-Tac-Toe game. In this project reinforcement learning is used for implementing Tic-Tac-Toe game. There are two scripts for learning tt.cgi and for playing play.cgi. The script for playing is using values obtained during the learning and saved in the text file. Learning can be done by running perl script tt.cgi from command prompt. After results of learning are saved and transfered to web server someone can play with the program over the web. Learning is using a simple formula for update: V(s)=V(s) alpha(V(s')-V(s)) where s is state after move, s' is state before move The learned values are saved in the the file level1.txt in the format s:V(s) The board position s is represented by string of 9 digits where 0 for 0 , 1 for RL program or x and 2 for emty cell.During the learning the program counts the number of wins for each 500 games and prints all results in the end. That number always bigger in the end then in the beginning because the program starts without any knowledge how to play.Tic-Tac-Toe Game with Perl script details and screenshot
RECOMMENDED TOOLS
Related tags:
Related downloads
ShootOut script
ShootOut ShootOut script shows you how to use the win32 console functions.
Price: Freeware$, Rating: 6, Downloads: 0
ShootOut ShootOut script shows you how to use the win32 console functions.
Price: Freeware$, Rating: 6, Downloads: 0
Concentration Game script
Concentration Game Concentration Game script allows you to play a memory like game.
Price: Freeware$, Rating: 9.5, Downloads: 0
Concentration Game Concentration Game script allows you to play a memory like game.
Price: Freeware$, Rating: 9.5, Downloads: 0
Guess the number game script
Guess the number game Guess the number game is a simple game that all ages can play.
Price: Commercial License ($, Rating: 10, Downloads: 0
Guess the number game Guess the number game is a simple game that all ages can play.
Price: Commercial License ($, Rating: 10, Downloads: 0
Connect4 script
Connect4 Connect4 script allows you to play the classic game of connect 4.
Price: Freeware$, Rating: 7, Downloads: 0
Connect4 Connect4 script allows you to play the classic game of connect 4.
Price: Freeware$, Rating: 7, Downloads: 0
Crossword Puzzle CGI system script
Crossword Puzzle CGI system Crossword Puzzle CGI system allows you to build and play cross
Price: Freeware$, Rating: 10, Downloads: 0
Crossword Puzzle CGI system Crossword Puzzle CGI system allows you to build and play cross
Price: Freeware$, Rating: 10, Downloads: 0
twiscip script
twiscip twiscip - Textbased (with images) StarCraft in PHP is just like the name says.
Price: GPL$, Rating: 10, Downloads: 0
twiscip twiscip - Textbased (with images) StarCraft in PHP is just like the name says.
Price: GPL$, Rating: 10, Downloads: 0
SPADS 8 Ball script 1.0
SPADS 8 Ball SPADS 8 Ball - Easy to install, everything can be edited too!
Price: $, Rating: 7, Downloads: 0
SPADS 8 Ball SPADS 8 Ball - Easy to install, everything can be edited too!
Price: $, Rating: 7, Downloads: 0
XO Game with GUI script
XO Game with GUI XO Game with GUI - A simple but difficult Tic Tac Toe game
Price: Freeware$, Rating: 9, Downloads: 0
XO Game with GUI XO Game with GUI - A simple but difficult Tic Tac Toe game
Price: Freeware$, Rating: 9, Downloads: 0
