Skip to content

Instantly share code, notes, and snippets.

View KyleRConway's full-sized avatar
🍀
Learning new things

Kyle R. Conway KyleRConway

🍀
Learning new things
View GitHub Profile
# Requirements
# --------------------
# 1. Tic-Tac-Toe
# 2. Two-Player
# - take turns
# - human input
# 3. Terminal-based
# 4. Recognize and report win-state and winner (when/if reached)
@KyleRConway
KyleRConway / dicewarebot
Created November 14, 2018 02:31
dicewarebot
from mastodon import Mastodon
from random import randint
import tweepy
# diceroll() takes two arguments:
# number of sides *and* total rolls
def diceroll(di,num):
total_rolls = 1
for i in range(num):
print(randint(1,di))

Keybase proof

I hereby claim:

  • I am KYLERCONWAY on github.
  • I am k_rey_c (https://keybase.io/k_rey_c) on keybase.
  • I have a public key whose fingerprint is 104B 7846 10EE 48EB C812 AE3F FE52 086F 85F6 18FC

To claim this, I am signing this object: