Skip to content

Instantly share code, notes, and snippets.

View gist:3320068
#include <stdio.h>
static long long int positionsEvaluated = 0;
int inOrder(const int rack[10])
{
int i;
int last = 0;
for (i = 0; i < 10; i++)
View racko.py
# Rack-O simulation
import random
class GreedyHeuristicPlayer():
def getScore(self, rack):
return 1
def choose(self, rack, newCard):
bestScore = self.getScore(rack)