Skip to content

npinochet/twitter-plays-chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Twitter Plays Chess

A Twitter bot to play chess against a computer using polls.

How to run

python bot.py

A single run will:

  • Get the current board using Redis
  • Get the results of the last polls (program exits if polls aren't closed)
  • Make the AI play (against Stockfish)
  • Check if the game is over
  • Post new board and polls

How I managed to make Twitter polls

As a base I used airhadoken's gist for creating polls. I also got my Twitter Api Keys using twurl and the Twitter for Mac Consume Key found here.

About

A bot for playing chess on twitter using polls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages