Skip to content

Instantly share code, notes, and snippets.

Paul Lee hillcrestpaul0719

Block or report user

Report or block hillcrestpaul0719

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hillcrestpaul0719
hillcrestpaul0719 / four_corners.py
Last active Jun 20, 2019
A Python 3 program to aid people playing the popular game, four corners.
View four_corners.py
import time
from fractions import Fraction
import random
import copy
import sys
import traceback
instructions = ["""
=== Instructions ======
First, select your pawns. It could be anything.
View keybase.md

Keybase proof

I hereby claim:

  • I am hillcrestpaul0719 on github.
  • I am hillcrestenigma (https://keybase.io/hillcrestenigma) on keybase.
  • I have a public key whose fingerprint is 6770 5659 05D4 D472 B3D5 C886 ABFC D13B AEE5 A8DA

To claim this, I am signing this object:

@hillcrestpaul0719
hillcrestpaul0719 / newDix.py
Created Apr 21, 2018
A dix game with an AI that plays dix.
View newDix.py
def possibility(curNum, curPlayer, playerNum, AINum, top=False):
possibilities = []
for i in range(1, 4):
if curNum + i > 9:
if curPlayer == AINum:
if top:
return [[False]]
# return [[True]]
else:
return [False]
You can’t perform that action at this time.