Files:
- TTTServer.py
- TTTClient.py
Run these two files and see AI's play Tic Tac Toe. You may edit the ports on each file to whatever ports you may prefer. TTTClient expects a commandline argument of the serverAddress.
These two scripts use an Alpha-Beta probing algorithm, so they always play a tie, as they are perfect players.
File(s):
- secret_santa.rb
Script to send out secret santa emails to participants. Keep in mind that the secret santa pairings get deleted after they are sent, so the user of the script has no idea who they are.
In the options dictionary, enter your email domain, username and password (for GMAIL you will have to "unlock" some setting temporarily).
Run the Ruby script, and it will ask for participants name and email.
File(s):
- plot_home_wins.py
Using the de-deutschland database for Bundesliga matches, plot the last 5 home match results against whatever team.
Example for Nordderby:
File(s):
- create_thread_wordcloud.py
A little script which is essentially just the PRAW Comment Extraction and the Python Word Cloud package tutorials pasted together. It was a fun little script, but my friend said I had a boring result, so I lost motivation to do anything better with it. Image below of PSG vs. Real Madrid Reddit match thread:
File(s):
- plot_pps.py
This script plots your previous played games PPS (Piece per Second) data from Nullpomino (A Tetris Desktop game). It's highly tailored to mine (note the "no data available" section), but can perhaps be easily fixed to your liking. The plot: